Fix styling issues -- make side nav extend to top of footer, and expand padding on global layout so items are not cut off
This commit is contained in:
parent
2742c4951a
commit
4ba1c4d869
@ -19,7 +19,7 @@ body {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
flex-grow: 1;
|
||||
margin-bottom: $footer-height;
|
||||
padding-bottom: $footer-height * 2.5;
|
||||
|
||||
.global-panel-container {
|
||||
margin: $gap;
|
||||
|
@ -1,5 +1,6 @@
|
||||
.global-navigation {
|
||||
background-color: $color-white;
|
||||
height: auto;
|
||||
|
||||
.sidenav__link {
|
||||
padding-right: $gap * 2;
|
||||
|
@ -51,13 +51,16 @@
|
||||
|
||||
ul {
|
||||
&.sidenav__list--padded {
|
||||
margin: ( 4 * $gap) 0;
|
||||
margin-top: 4 * $gap;
|
||||
margin-bottom: $footer-height;
|
||||
padding-bottom: $gap;
|
||||
position: fixed;
|
||||
overflow-y: scroll;
|
||||
top: $topbar-height + $usa-banner-height + 4rem;
|
||||
bottom: $footer-height;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
width: $sidenav-expanded-width;
|
||||
background-color: $color-white;
|
||||
}
|
||||
|
||||
list-style: none;
|
||||
|
Loading…
x
Reference in New Issue
Block a user