-
Notifications
You must be signed in to change notification settings - Fork 805
Make Manual Question Selection alert non-sticky on scroll #13331
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
Make Manual Question Selection alert non-sticky on scroll #13331
Conversation
Build Artifacts
|
|
||
.alert.warning { | ||
position: sticky; | ||
z-index: 1; |
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.
I know this was not introduced by this PR, but since we changed the cards to use KCard, cards thumbnails now have a z-index: 1, and this warning is appearing behind these thumbnails. Could you increase it to two now that we are modifying this part of the code? 😅
Although I dont know if this is something we should fix in 0.18.0 cc: @rtibbles.
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.
Thanks for pointing this out! Since it wouldn't introduce any styling conflicts in this current PR, I went ahead and updated the z-index to 2.
…kolibri into banner-no-sticky
3d421f6
to
99ab1eb
Compare
Manual question selection banner is sticky no more! 💥
Confirmed also when browsing bookmarks 👍🏽 |
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.
Manual QA passes, good to go! 💯
Summary
This pull request divides the class
alert-warning
into two classes to ensure that the manual question selection banner is not sticky, while the banner for the selected maximum content remains sticky when scrolling in theSidePanelModal
.Before:
Before.mov
After:
After.mov
References
Fixes #13299
Reviewer guidance