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 height of the sidebar #374

Merged

Conversation

jorisvandenbossche
Copy link
Member

No description provided.

@@ -208,7 +208,7 @@ table.field-list {
position: sticky;
top: calc(var(--pst-header-height) + 20px);
z-index: 1000;
height: calc(100vh - 4rem);
height: calc(100vh - var(--pst-header-height) - 20px);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

top is defined just above as calc(var(--pst-header-height) + 20px);, so using the exact same value here to subtract from the full screen to get the height

@jorisvandenbossche jorisvandenbossche merged commit 3532922 into pydata:master Apr 6, 2021
@jorisvandenbossche jorisvandenbossche deleted the fix-sidebar-height branch April 6, 2021 17:38
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.

None yet

1 participant