Skip to content

Commit

Permalink
fixing padding and spacing to get TOC to render right (#740)
Browse files Browse the repository at this point in the history
This change will fix the spacing on all of the docs to make the screen
real state better with less white space. It makes
 a bigger difference in the v2 docs with the new TOC.

I did some testing on smaller screens as well.

Happy to get feedback.
- [X] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [X] I have signed all commits
- [X] I have run lint and test steps successfully

---------

Signed-off-by: Jonah Kowall <jkowall@kowall.net>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
  • Loading branch information
jkowall and yurishkuro committed Sep 18, 2024
1 parent f8ea5c9 commit c93d97e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/jaeger-docs/assets/sass/article.sass
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
margin-top: 2rem

.is-8
padding: 0 2rem
padding: 0 1rem

.content
ul, ul li
Expand Down
5 changes: 3 additions & 2 deletions themes/jaeger-docs/assets/sass/pages.sass
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@
position: fixed
bottom: 0%
top: 9rem
left: 3rem

.nav
position: absolute
z-index: 10
width: inherit
max-width: 11rem
min-width: 15rem
max-width: 25rem
line-height: 150%
overflow-y: scroll
overflow-x: hidden
Expand Down

0 comments on commit c93d97e

Please sign in to comment.