fix: modal dialog style (#286)

This commit is contained in:
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

View file

@ -160,9 +160,7 @@ export default {
<!-- Dialog it self -->
<div
ref="elDialogMain"
class="dialog-main"
rounded shadow-lg pointer-events-auto isolate bg-base
border="~ base" max-h-full flex flex-col
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"
v-bind="bindTypeToAny($attrs)"
>
<!-- header -->
@ -170,7 +168,7 @@ export default {
<!-- main -->
<div
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"
>
<slot />