Skip to content

Commit

Permalink
fix footer covering sidebar menu
Browse files Browse the repository at this point in the history
Signed-off-by: sudesh satpute <[email protected]>
  • Loading branch information
141AQUA-xzy committed Oct 19, 2024
1 parent e942c23 commit 21eda50
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
24 changes: 22 additions & 2 deletions themes/jaeger-docs/assets/sass/article.sass
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,28 @@
li a
font-size: 1.5rem

&.article--docs
.container
&.is-fluid
position: relative
top: 0
padding: 0
margin: auto

&.is-2.is-hidden-touch
position: sticky
top: 0vh
height: 100vh
padding: 0
width: fit-content

&.article--docs, &.article--download, &.article--terms
.is-size-1
line-height: 125%

+touch
padding: 0 7%

margin-top: 2rem

.is-8
padding: 0 1rem

Expand Down Expand Up @@ -64,3 +77,10 @@

&.article--docs, &.article--download
margin: 3rem 0 10rem 0

// Changed 2 - *2 merged
.container
&.is-fluid
position: relative
top: 0
padding: 0
12 changes: 7 additions & 5 deletions themes/jaeger-docs/assets/sass/pages.sass
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,22 @@
&--docs
/* Left-hand documentation nav */
.nav-wrapper
position: fixed
bottom: 0%
top: 9rem
left: 3rem
position: sticky
top: 25vh
padding: 0
height : 70vh
padding-left: 2rem

.nav
position: absolute
position: unset
z-index: 10
min-width: 15rem
max-width: 25rem
line-height: 150%
overflow-y: scroll
overflow-x: hidden
height: 100%
margin-left : -7rem

.nav-link
a
Expand Down
5 changes: 3 additions & 2 deletions themes/jaeger-docs/assets/sass/toc.sass
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ $left-border: 4px solid $jaeger-beige

.toc
z-index: 1
width: inherit
position: fixed
position: sticky
width: 100%
top: 30vh
margin: 0
padding: 0

Expand Down

0 comments on commit 21eda50

Please sign in to comment.