mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-30 13:54:01 +00:00
fix(app): enable dialog dismiss on model selector (dialog.tsx) (#10203)
This commit is contained in:
parent
c130dd425a
commit
e376e1de16
@ -20,6 +20,7 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
pointer-events: none;
|
||||
|
||||
[data-slot="dialog-container"] {
|
||||
position: relative;
|
||||
@ -41,6 +42,7 @@
|
||||
max-height: 100%;
|
||||
min-height: 280px;
|
||||
overflow: auto;
|
||||
pointer-events: auto;
|
||||
|
||||
/* Hide scrollbar */
|
||||
scrollbar-width: none;
|
||||
|
||||
@ -53,7 +53,7 @@ function init() {
|
||||
}}
|
||||
>
|
||||
<Kobalte.Portal>
|
||||
<Kobalte.Overlay data-component="dialog-overlay" />
|
||||
<Kobalte.Overlay data-component="dialog-overlay" onClick={close} />
|
||||
{element()}
|
||||
</Kobalte.Portal>
|
||||
</Kobalte>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user