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

Made toc Sidebar Expand to Fit Page, per issue #744 by yurishkuro #748

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Donovan-Porter
Copy link

As per issue #744, opened by yurishkuro, I made the sidebar expand to fill the page.

Which problem is this PR solving?

Description of the changes

  • Two lines in "./documentation/themes/jaeger-docs/assets/sass/toc.sass"
  • css attribute "height" added to "toc" class.
  • css attribute "position" added to "jaeger-toc-page-list" class

How was this change tested?

  • Local development environment utilizing hugo server.

Checklist

Screenshot 2024-09-26 161400
Screenshot 2024-09-26 161415

As per issue jaegertracing#744, opened by yurishkuro, I made the sidebar expand to fill the page.

Signed-off-by: Donovan Porter <[email protected]>


Signed-off-by: Donovan-Porter <[email protected]>
Copy link

netlify bot commented Sep 26, 2024

Deploy Preview for romantic-neumann-1959d7 ready!

Name Link
🔨 Latest commit eebba2b
🔍 Latest deploy log https://app.netlify.com/sites/romantic-neumann-1959d7/deploys/66f5c70bcc04560008adc554
😎 Deploy Preview https://deploy-preview-748--romantic-neumann-1959d7.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@yurishkuro
Copy link
Member

I see it now expands to more than the height of the page.

@Donovan-Porter
Copy link
Author

Yes, I figured it doesn't much matter because of the ample whitespace, but the height could be finetuned. I used 6rem because that's the value of the "$navbar-height" in the "variables.sass" file, but the sidebar's top is below 6rem from the top of the window. I also couldn't seem to get the $navbar-height variable to read properly in the calc() function.

Another issue that I didn't catch before submitting the pull request is the doubled scroll bar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Right sidebar is limited in height
2 participants