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

Position the sidebar completely below the navigation bar? #24

Open
1 task done
jiyuxiongdi opened this issue Sep 1, 2024 · 0 comments
Open
1 task done

Position the sidebar completely below the navigation bar? #24

jiyuxiongdi opened this issue Sep 1, 2024 · 0 comments
Labels
question Further information is requested

Comments

@jiyuxiongdi
Copy link

jiyuxiongdi commented Sep 1, 2024

Checklist

  • I have read the documentation at the Wiki.

Description

I believe it looks more natural to have the sidebar positioned completely below the navigation bar, as shown in the image below. Would you consider adding an option for this? Thanks!

image

I created the image by modifying the templates/base.css file as shown below.

{# make the menu button clickable #}
div[data-testid="stAppViewContainer"] {
    pointer-events: none;
    top: {{ ui.height }}; /* Add space above for the whole container */
}

section.main {
    pointer-events: auto;
    position: relative;
    /* top: {{ ui.height }}; */ 
}
@jiyuxiongdi jiyuxiongdi added the question Further information is requested label Sep 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant