Skip to content
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

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

JeikZim
Copy link
Contributor

@JeikZim JeikZim commented Jun 23, 2024

pop-up definition overlaps header

@@ -65,7 +65,7 @@
}

.pc-navigation {
z-index: 101;
z-index: 5000;
Copy link
Contributor

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 ?

Copy link
Contributor Author

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

Copy link
Contributor

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

Copy link
Contributor Author

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

@JeikZim JeikZim merged commit 1d5fbf6 into diplodoc-platform:master Jul 1, 2024
2 checks passed
JeikZim added a commit that referenced this pull request Jul 8, 2024
JeikZim added a commit to diplodoc-platform/transform that referenced this pull request Jul 8, 2024
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.
JeikZim added a commit to diplodoc-platform/transform that referenced this pull request Jul 8, 2024
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.
JeikZim pushed a commit that referenced this pull request Sep 20, 2024
fix: pop-up definition overlaps header (#51)

---------

Co-authored-by: Ruslan Bagautdinov <[email protected]>
JeikZim added a commit that referenced this pull request Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants