-
Notifications
You must be signed in to change notification settings - Fork 146
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
Improve banner CSS #8092
Improve banner CSS #8092
Conversation
* On standalone pages the banner will sit in page and be hidden. * On package page (and landing page) the banner will float over content with position absolute, as these pages have sufficient margin to allow for this. In both cases content will not jump when the banner is dismissed, or when the banner is loaded.
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.
Can you push this to staging?
Pushed to |
01d3d31
to
ff418d7
Compare
@@ -393,31 +393,20 @@ pre { | |||
text-align: center; | |||
|
|||
.dismisser { | |||
float: right; | |||
position: absolute; |
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.
Not sure: does this need a position: relative
in the parent element?
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 don't think so...
In both cases content will not jump when the banner is dismissed, or when the banner is loaded.