Skip to content

Commit

Permalink
more style adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Nov 20, 2023
1 parent 7ad1483 commit 5a1dc7b
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions ui/scss/core/sim_ui/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
@import "../components/sim_title_dropdown";

.sim-sidebar {
min-height: 100vh;
flex: 1;
display: flex;
flex-direction: column;
align-items: stretch;
Expand All @@ -19,7 +17,6 @@
padding-bottom: map.get($spacers, 3);
display: flex;
flex-direction: column;
flex-grow: 1;

&> *:not(:last-child) {
margin-bottom: map.get($spacers, 4);
Expand Down Expand Up @@ -55,12 +52,6 @@
justify-content: center;
align-items: center;
}

.sim-sidebar-footer {
flex: 1;
display: flex;
align-items: flex-end;
}
}
}

Expand All @@ -78,6 +69,21 @@
}
}

@include media-breakpoint-up(md) {
.sim-sidebar {
// Allow the stats to align to the bottom of the viewport if the section is small enough to avoid scrolling
.sim-sidebar-content {
min-height: calc(100vh - $sim-header-height);

.sim-sidebar-footer {
flex: 1;
display: flex;
align-items: flex-end;
}
}
}
}

@include media-breakpoint-down(lg) {
.sim-sidebar {
.sim-sidebar-content {
Expand Down

0 comments on commit 5a1dc7b

Please sign in to comment.