File tree Expand file tree Collapse file tree
modules/dashboard/writing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ export function UserAuth() {
146146 } }
147147 icon = { < i className = "icon-[mingcute--exit-line] size-4" /> }
148148 >
149- Sign out
149+ 登出
150150 </ DropdownMenuItem >
151151 </ DropdownMenuContent >
152152 </ DropdownMenuPortal >
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ export const ImportMarkdownButton: FC<{
6565 导入
6666 </ StyledButton >
6767 < DeclarativeModal
68+ modalClassName = "z-[999] pointer-events-auto"
6869 clickOutsideToDismiss = { false }
6970 open = { isOpen }
7071 onOpenChange = { onOpenChange }
Original file line number Diff line number Diff line change @@ -203,7 +203,10 @@ export const ModalInternal: Component<{
203203 < div
204204 className = { clsxm (
205205 'fixed inset-0 z-20 overflow-auto' ,
206- currentIsClosing && '!pointer-events-none' ,
206+ currentIsClosing
207+ ? '!pointer-events-none'
208+ : 'pointer-events-auto' ,
209+
207210 modalContainerClassName ,
208211 ) }
209212 onClick = { clickOutsideToDismiss ? dismiss : undefined }
@@ -229,7 +232,9 @@ export const ModalInternal: Component<{
229232 ref = { edgeElementRef }
230233 className = { clsxm (
231234 'center fixed inset-0 z-20 flex' ,
232- currentIsClosing && '!pointer-events-none' ,
235+ currentIsClosing
236+ ? '!pointer-events-none'
237+ : 'pointer-events-auto' ,
233238 modalContainerClassName ,
234239 ) }
235240 style = { zIndexStyle }
You can’t perform that action at this time.
0 commit comments