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

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

Loading…
Cancel
Save