Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix footer covering sidebar menu #761

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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