-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Drawer): resizer, portal rendering, hide veil
- Loading branch information
1 parent
aeb2acb
commit 904ab2e
Showing
14 changed files
with
665 additions
and
38 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.disable-portal { | ||
width: 100dvw; | ||
height: 100dvh; | ||
|
||
display: flex; | ||
flex-direction: column; | ||
|
||
&__header { | ||
width: 100%; | ||
padding: 20px; | ||
border-bottom: 1px solid var(--g-color-line-generic); | ||
display: flex; | ||
align-items: center; | ||
gap: 8px; | ||
} | ||
|
||
&__container { | ||
position: relative; | ||
padding: 16px; | ||
width: 600px; | ||
height: 400px; | ||
border: 1px solid var(--g-color-line-brand); | ||
} | ||
|
||
&__drawer { | ||
position: absolute; | ||
inset: 0; | ||
overflow: hidden; | ||
} | ||
|
||
&__item { | ||
width: 400px; | ||
height: 100%; | ||
overflow-x: hidden; | ||
} | ||
|
||
&__item-content { | ||
padding: 8px 16px; | ||
height: 100%; | ||
overflow-y: scroll; | ||
} | ||
} |
Oops, something went wrong.