mirror of
https://github.com/coaidev/coai.git
synced 2025-05-28 09:20:18 +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 {
|
||||
border-radius: var(--radius) !important;
|
||||
max-height: calc(100vh - 2rem) !important;
|
||||
|
@ -27,7 +27,7 @@ function Announcement() {
|
||||
open={announcement !== ""}
|
||||
onOpenChange={() => setAnnouncement("")}
|
||||
>
|
||||
<AlertDialogContent className={`flex-dialog`}>
|
||||
<AlertDialogContent className={`announcement-dialog flex-dialog`}>
|
||||
<AlertDialogHeader>
|
||||
<AlertDialogTitle
|
||||
className={"flex flex-row items-center select-none"}
|
||||
|
Loading…
Reference in New Issue
Block a user