summaryrefslogtreecommitdiffhomepage
path: root/packages/ui/src/components/dialog.css
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ui/src/components/dialog.css')
-rw-r--r--packages/ui/src/components/dialog.css16
1 files changed, 15 insertions, 1 deletions
diff --git a/packages/ui/src/components/dialog.css b/packages/ui/src/components/dialog.css
index 177dc0a79..96e967a6f 100644
--- a/packages/ui/src/components/dialog.css
+++ b/packages/ui/src/components/dialog.css
@@ -30,6 +30,7 @@
flex-direction: column;
align-items: center;
justify-items: start;
+ overflow: visible;
[data-slot="dialog-content"] {
display: flex;
@@ -39,6 +40,14 @@
width: 100%;
max-height: 100%;
min-height: 280px;
+ overflow: auto;
+
+ /* Hide scrollbar */
+ scrollbar-width: none;
+ -ms-overflow-style: none;
+ &::-webkit-scrollbar {
+ display: none;
+ }
/* padding: 8px; */
/* padding: 8px 8px 0 8px; */
@@ -108,7 +117,7 @@
display: flex;
flex-direction: column;
flex: 1;
- overflow-y: auto;
+ overflow: hidden;
&:focus-visible {
outline: none;
@@ -129,6 +138,11 @@
}
}
}
+
+ &[data-size="large"] [data-slot="dialog-container"] {
+ width: min(calc(100vw - 32px), 800px);
+ height: min(calc(100vh - 32px), 600px);
+ }
}
@keyframes overlayShow {