-
Notifications
You must be signed in to change notification settings - Fork 20
fix: added z-index to mode help tooltip and z-index system (issue #298) #544
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
Open
dpolevodin
wants to merge
15
commits into
gravity-ui:main
Choose a base branch
from
dpolevodin:fix/tooltip-hidden-under-toolbar
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+132
−27
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
52053e5
fix: added z-index to mode help tooltip and z-index system
dpolevodin b320856
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin de7a072
fix: added z-index to mode help tooltip and z-index system (fixed lint)
dpolevodin 39a4f7e
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin f931513
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin 8361dc8
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
makhnatkin bbb43b2
fix: merge main into fix/tooltip-hidden-under-toolbar
dpolevodin 2e602da
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin 32ab6c3
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
makhnatkin 0e13a7e
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin 93df072
Merge branch 'main' of https://github.com/dpolevodin/markdown-editor …
dpolevodin 9a3ccfd
Merge branch 'fix/tooltip-hidden-under-toolbar' of https://github.com…
dpolevodin f49eca8
fix: merge main
2ebcba2
fix: return z-index value to sticky-toolbar
c3f5a1a
fix: added zIndex varibale to HelpMark
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
src/extensions/yfm/ImgSize/plugins/ImgSizeNodeView/ImgSettingsButton.scss
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,9 @@ | ||
@use '../../../../../styles/mixins.scss'; | ||
|
||
.g-md-img-settings-button { | ||
position: absolute; | ||
z-index: 2; | ||
top: 3px; | ||
right: 3px; | ||
|
||
@include mixins.z-index('img-settings-button'); | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
// so that cursor is always cursor:grabbing | ||
$dnd-cursor-back: 100500; | ||
// ghost for drag and drop. has to be always above other elements | ||
$dnd-ghost: 100499; | ||
// z-index system values | ||
$z-index-map: ( | ||
'background': -1, | ||
'default': 0, | ||
'forefront': 1, | ||
'img-settings-button': 2, | ||
'table-view-button': 100, | ||
'table-cell-button': 110, | ||
'sticky-toolbar': 2000, | ||
'sticky-toolbar-popup': 2100, | ||
); | ||
|
||
:root { | ||
--md-editor-sticky-toolbar-popup-z-index: #{map-get($z-index-map, 'sticky-toolbar-popup')} | ||
} | ||
|
||
$sticky-toolbar: 2000; // more than has popup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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