Skip to content

Commit

Permalink
Make the contents scroll independently
Browse files Browse the repository at this point in the history
This change makes it so that scrolling to view more of the contents
outline in desktop will not cause the content to shift. The logo section
is always sticky to the top of the technote.
  • Loading branch information
jonathansick committed Jun 18, 2024
1 parent 5500082 commit fbc645c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/assets/styles/base/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ body {
position: relative;
opacity: 1;
visibility: visible;
/* to let the outline scroll independently */
height: 100%;
overflow-y: auto;
}

.technote-article-container {
Expand Down

0 comments on commit fbc645c

Please sign in to comment.