-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
apply dialog fixes to bookmark dialogs #768
Conversation
|
||
/* limit dialog height with a scrollbox */ | ||
.modal-content { | ||
max-height: calc(100vh - 60px); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previous implementation assumed same-sized dialog header, but Bookmarks dialogs are larger; so I moved dynamic size to the dialog frame instead (…which required a few extra hacks to make the scrollbox work correctly).
.modal-body thead { | ||
position: sticky; | ||
/* setting `top:` with JS, to account for theme differences */ | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
position: sticky
has no effect unless a position size is defined… and <thead>
only exists in Stats dialogs
/* overriding icon-button text color with theme color */ | ||
.modal-header .close { | ||
color: inherit; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a better match for existing Bootstrap styles
Thank you! |
Can you please have a look if some of the open issues can be closed... if your time permits? |
…After a few more checks I realized the dialogs on the Bookmarks page had the same issues as on those the Stats page (+they add an unnecessary scrollbar on the main window just because). So I renamed the CSS file (which only contained dialog styles anyway) and did a few more adjustments to make sure the fixes work on all pages.