-
Notifications
You must be signed in to change notification settings - Fork 7
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: pop-up definition overlaps header #51
Conversation
src/styles/overrides.scss
Outdated
@@ -65,7 +65,7 @@ | |||
} | |||
|
|||
.pc-navigation { | |||
z-index: 101; | |||
z-index: 5000; |
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.
why is it 5000 and not 102 for examle ? what is z-index of pop-up ?
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.
Pop-ups have a z-index: 1000, and for the header I set 5000, because the header should be above all the elements on the page. In addition, an element may appear that should be above the pop-up, but under the header. It can have a z-index: 1001, 1002, etc
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.
It is always better to choose the smallest number to the required number, than to increase it by a random amount, as this can very quickly lead to too large numbers
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.
Okay, I get it. Can I use the value 1050? To have a stock of z-index values
The pop-up of the terms overlapped the header. Previously, changes were made to @diplodoc/client to solve the problem, with ref: diplodoc-platform/client#51 The changes caused new bug and it was decided to fix the initial bug in another way by changing the z-index of the terms themselves.
The pop-up of the terms overlapped the header. Previously, changes were made to @diplodoc/client to solve the problem, with ref: diplodoc-platform/client#51 The changes caused new bug and it was decided to fix the initial bug in another way by changing the z-index of the terms themselves.
fix: pop-up definition overlaps header (#51) --------- Co-authored-by: Ruslan Bagautdinov <[email protected]>
pop-up definition overlaps header