Skip to content

Commit

Permalink
feat: make the nav bar and article divs flexible, so they increase/de…
Browse files Browse the repository at this point in the history
…crease based on the screen size
  • Loading branch information
clauBv23 committed Dec 4, 2024
1 parent 4b78899 commit bf09d62
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui/src/css/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
overflow-y: auto;
position: sticky;
top: 0;
width: 300px;
width: 20%;
max-width: 300px;
flex: 0 0 auto;
}

Expand Down Expand Up @@ -106,7 +107,6 @@ button.collapse-toggle {
}

.navbar, .article-wrapper {
max-width: 60rem;
margin: 0 var(--side-margin);
}

Expand Down Expand Up @@ -180,7 +180,8 @@ button.collapse-toggle {
margin-left: var(--lg);
flex-grow: 0;
flex-shrink: 0;
width: 200px;
width: 20%;
max-width: 300px;
max-height: 80vh;
position: sticky;
top: 10vh;
Expand Down

0 comments on commit bf09d62

Please sign in to comment.