mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-05 16:02:19 +00:00
add x-large dialog size and use it for settings modal
This commit is contained in:
parent
36bbe809fa
commit
2b95956132
3 changed files with 7 additions and 2 deletions
|
|
@ -143,6 +143,11 @@
|
|||
width: min(calc(100vw - 32px), 800px);
|
||||
height: min(calc(100vh - 32px), 600px);
|
||||
}
|
||||
|
||||
&[data-size="x-large"] [data-slot="dialog-container"] {
|
||||
width: min(calc(100vw - 32px), 960px);
|
||||
height: min(calc(100vh - 32px), 600px);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes overlayShow {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ export interface DialogProps extends ParentProps {
|
|||
title?: JSXElement
|
||||
description?: JSXElement
|
||||
action?: JSXElement
|
||||
size?: "normal" | "large"
|
||||
size?: "normal" | "large" | "x-large"
|
||||
class?: ComponentProps<"div">["class"]
|
||||
classList?: ComponentProps<"div">["classList"]
|
||||
fit?: boolean
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue