mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-12-04 23:32:54 +01:00
scroll dialog
This commit is contained in:
8 files changed
+278
-300
No files matched your search
@@ -3,25 +3,26 @@
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
|
||||
display: flex;
|
||||
|
||||
box-sizing: border-box;
|
||||
padding: var(--space-4);
|
||||
overflow-y: auto;
|
||||
|
||||
background-color: var(--black-a9);
|
||||
}
|
||||
|
||||
.Content {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
z-index: 1;
|
||||
margin: auto;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4);
|
||||
|
||||
box-sizing: border-box;
|
||||
max-width: min(40rem, calc(100dvw - 2 * var(--space-4)));
|
||||
max-height: calc(100dvh - 2 * var(--space-4));
|
||||
min-width: 0;
|
||||
max-width: min(40rem, 100%);
|
||||
padding: var(--space-4);
|
||||
overflow: hidden;
|
||||
|
||||
background-color: var(--gray-2);
|
||||
box-shadow: var(--shadow-subtle);
|
||||
|
||||
Reference in new issue
Block a user