-
Notifications
You must be signed in to change notification settings - Fork 18
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: added z-index to mode help tooltip and z-index system (issue #298) #544
base: main
Are you sure you want to change the base?
fix: added z-index to mode help tooltip and z-index system (issue #298) #544
Conversation
Preview is ready. |
|
||
.tooltip { | ||
@include mixins.z-index('forefront'); | ||
} |
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.
add to docs plz too
'img-settings-button': 2, | ||
'table-view-button': 100, | ||
'table-cell-button': 110, | ||
'sticky-toolbar': 990, |
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.
- header sticky toolbar+
- header sticky toolbar
- context toolbar+ (popups, hints)
- context toolbar
- suggest popup+ (for hints), (
...
buttons menu) - suggest popup
- block panel popup
context is popup from text selection
suggest is /
, :
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.
if you need to change z-index in uikit component use style https://github.com/gravity-ui/uikit/blob/main/src/components/types.ts#L4C5-L4C27
like this:
style={{
// ...otherStyles,
zIndex: var(--md-editor-z-index-level-suggest);
}}
…into fix/tooltip-hidden-under-toolbar
…/dpolevodin/markdown-editor into fix/tooltip-hidden-under-toolbar
fixes #298
z-index for the sticky-toolbar has been lowered from 2000 to 990, since the HelpMark tooltip index is set to 1000 in uikit
Added z-index system and updated readme.
Changed current z-index values in project by z-index mixin