Fixed issues with sidebar and footer moving around

pull/2/head
Rebecca Hollis 5 years ago
parent 055166b502
commit 2e2ab31364

@ -66,7 +66,7 @@ body {
position: sticky; position: sticky;
top: 48px; /* Height of navbar */ top: 48px; /* Height of navbar */
height: calc(100vh - 48px); height: calc(100vh - 48px);
padding-top: 3rem; margin-top: 6rem;
padding-left: .5rem; padding-left: .5rem;
overflow-x: hidden; overflow-x: hidden;
overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */ overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
@ -140,4 +140,7 @@ body {
.footer p { .footer p {
margin-bottom: .25rem; margin-bottom: .25rem;
margin-left: 25rem;
padding-left: 25rem;
color: footertext;
} }

@ -103,9 +103,7 @@
</div> </div>
</div> </div>
</div> </div>
</main>
</div>
</div>
<footer class="page-footer"> <footer class="page-footer">
@ -119,6 +117,10 @@
</div> </div>
</footer> </footer>
</main>
</div>
</div>
</body> </body>

Loading…
Cancel
Save