fix: modal dialog style (#286)

zio/stable
Ayaka Rizumu 2022-12-02 16:01:56 +08:00 committed by GitHub
parent 57eef8e77f
commit 153e436470
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -160,9 +160,7 @@ export default {
<!-- Dialog it self --> <!-- Dialog it self -->
<div <div
ref="elDialogMain" ref="elDialogMain"
class="dialog-main" class="dialog-main w-full rounded shadow-lg pointer-events-auto isolate bg-base border-base border-1px border-solid w-full max-w-125 max-h-full flex flex-col"
rounded shadow-lg pointer-events-auto isolate bg-base
border="~ base" max-h-full flex flex-col
v-bind="bindTypeToAny($attrs)" v-bind="bindTypeToAny($attrs)"
> >
<!-- header --> <!-- header -->
@ -170,7 +168,7 @@ export default {
<!-- main --> <!-- main -->
<div <div
ref="elDialogScroll" ref="elDialogScroll"
overflow-y-auto touch-pan-y touch-pan-x overscroll-none class="overflow-y-auto touch-pan-y touch-pan-x overscroll-none flex-1"
:class="customClass" :class="customClass"
> >
<slot /> <slot />