Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions src/components/Drawer/Drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ $block: '.#{variables.$ns}drawer';

#{$block} {
pointer-events: none;
z-index: var(--gn-drawer-z-index);

--_--item-shadow-default: 0 1px 5px 0 var(--g-color-sfx-shadow);
--_--item-position: fixed;
Expand Down
2 changes: 2 additions & 0 deletions src/components/Drawer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ The Drawer module consists of two primary components: `Drawer` and `DrawerItem`.

| Name | Description | Default |
| :-------------------------------------------- | :---------------------------------------------------------- | :-------------------------------------: |
| Drawer | | |
| `--gn-drawer-z-index` | z-index of the drawer root container | `"auto"` |
| DrawerItem | | |
| `--gn-drawer-item-position` | The position of the drawer item on page | `fixed` |
| `--gn-drawer-item-shadow` | The box-shadow of the drawer item when veil is hidden | `0 1px 5px 0 var(--g-color-sfx-shadow)` |
Expand Down
Loading