Skip to content

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
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
52053e5
fix: added z-index to mode help tooltip and z-index system
dpolevodin Dec 27, 2024
b320856
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin Dec 30, 2024
de7a072
fix: added z-index to mode help tooltip and z-index system (fixed lint)
dpolevodin Jan 13, 2025
39a4f7e
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin Jan 13, 2025
f931513
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin Jan 16, 2025
8361dc8
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
makhnatkin Feb 10, 2025
bbb43b2
fix: merge main into fix/tooltip-hidden-under-toolbar
dpolevodin Feb 12, 2025
2e602da
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin Feb 12, 2025
32ab6c3
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
makhnatkin Feb 13, 2025
0e13a7e
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin Feb 26, 2025
93df072
Merge branch 'main' of https://github.com/dpolevodin/markdown-editor …
dpolevodin Feb 26, 2025
9a3ccfd
Merge branch 'fix/tooltip-hidden-under-toolbar' of https://github.com…
dpolevodin Feb 26, 2025
f49eca8
fix: merge main
Apr 17, 2025
2ebcba2
fix: return z-index value to sticky-toolbar
Apr 17, 2025
c3f5a1a
fix: added zIndex varibale to HelpMark
Apr 17, 2025
6efee79
feat: merge master
May 14, 2025
a08425b
feat: upped @gravity-ui/uikit version to latest and added zIndex prop…
May 14, 2025
342eb37
fix: merge master
Jun 2, 2025
380e90e
fix: prettier fix
Jun 2, 2025
40e2aba
Merge branch 'main' into fix/tooltip-hidden-under-toolbar
dpolevodin Jun 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions README-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,31 @@ configure({

Обязательно сделайте вызов `configure()` из [UIKit](https://github.com/gravity-ui/uikit?tab=readme-ov-file#i18n) и других UI-библиотек.

### Система z-index

В этом проекте используется система z-index для управления слоями элементов. Ниже приведены определенные уровни и их значения:

| level | z-index value |
| ------------------- | ------------- |
| background | -1 |
| default | 0 |
| forefront | 1 |
| img-settings-button | 2 |
| table-view-button | 100 |
| table-cell-button | 110 |
| sticky-toolbar | 990 |

### Использование

Для применения z-index в компонентах используйте миксин z-index, передавая соответствующий ключ в качестве аргумента:

```scss
@use 'styles/mixins.scss';

.tooltip {
@include mixins.z-index('forefront');
}
```

### Участие в разработке

Expand Down
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,32 @@ configure({

Don't forget to call `configure()` from [UIKit](https://github.com/gravity-ui/uikit?tab=readme-ov-file#i18n) and other UI libraries.

### Z-index levels

This project uses a z-index map to control the layers of elements. Defined levels:

| level | z-index value |
| ------------------- | ------------- |
| background | -1 |
| default | 0 |
| forefront | 1 |
| img-settings-button | 2 |
| table-view-button | 100 |
| table-cell-button | 110 |
| sticky-toolbar | 990 |

### Usage

To apply z-index to components, use the z-index mixin, passing the key as an argument:

```scss
@use 'styles/mixins.scss';

.tooltip {
@include mixins.z-index('forefront');
}
Copy link
Collaborator

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

```

### Contributing

- [Contributor Guidelines](https://preview.gravity-ui.com/md-editor/?path=/docs/docs-contributing--docs)
Loading