-
Notifications
You must be signed in to change notification settings - Fork 326
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
Fixing Css logic to correctly show rate limit banners in the correct place #6464
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,11 +53,12 @@ | |
} | ||
|
||
.error-item .banner-container { | ||
position: absolute; | ||
position: relative; | ||
top: 0; | ||
right: 0; | ||
overflow: hidden; | ||
overflow: visible; | ||
height: 100px; | ||
z-index: 1000; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We (usually) don't use z-index greater than 0 or 1, I would try to solve this with isolation instead. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good pointer, I will respond after getting the opinion of the whole situation from @toolmantim and @taiyab |
||
} | ||
|
||
@property --error-item-reflection-position { | ||
|
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'm not sure why this container has 100px, but with overflow visible, it doesn't make much sense to have a fixed height because, with the visible value, it will overflow anyway.