mirror of
https://github.com/coaidev/coai.git
synced 2025-06-07 22:30:17 +09:00
feat: support announcement flex dialog (#57)
This commit is contained in:
parent
9a501d5d2b
commit
18fc261592
@ -115,6 +115,11 @@ strong {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.announcement-dialog {
|
||||||
|
max-width: min(90vw, 720px) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.fixed-dialog {
|
.fixed-dialog {
|
||||||
border-radius: var(--radius) !important;
|
border-radius: var(--radius) !important;
|
||||||
max-height: calc(100vh - 2rem) !important;
|
max-height: calc(100vh - 2rem) !important;
|
||||||
|
@ -27,7 +27,7 @@ function Announcement() {
|
|||||||
open={announcement !== ""}
|
open={announcement !== ""}
|
||||||
onOpenChange={() => setAnnouncement("")}
|
onOpenChange={() => setAnnouncement("")}
|
||||||
>
|
>
|
||||||
<AlertDialogContent className={`flex-dialog`}>
|
<AlertDialogContent className={`announcement-dialog flex-dialog`}>
|
||||||
<AlertDialogHeader>
|
<AlertDialogHeader>
|
||||||
<AlertDialogTitle
|
<AlertDialogTitle
|
||||||
className={"flex flex-row items-center select-none"}
|
className={"flex flex-row items-center select-none"}
|
||||||
|
Loading…
Reference in New Issue
Block a user