!213 update src/components/Dialog/src/Dialog.vue.
Merge pull request !213 from AKING/N/A
This commit is contained in:
commit
df69c035e6
@ -67,6 +67,7 @@ const dialogStyle = computed(() => {
|
|||||||
lock-scroll
|
lock-scroll
|
||||||
draggable
|
draggable
|
||||||
top="0"
|
top="0"
|
||||||
|
class="com-dialog"
|
||||||
:show-close="false"
|
:show-close="false"
|
||||||
>
|
>
|
||||||
<template #header="{ close }">
|
<template #header="{ close }">
|
||||||
@ -107,13 +108,14 @@ const dialogStyle = computed(() => {
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.#{$elNamespace}-overlay-dialog {
|
.com-dialog {
|
||||||
|
.#{$elNamespace}-overlay-dialog {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.#{$elNamespace}-dialog {
|
.#{$elNamespace}-dialog {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
|
|
||||||
&__header {
|
&__header {
|
||||||
@ -134,5 +136,6 @@ const dialogStyle = computed(() => {
|
|||||||
&__headerbtn {
|
&__headerbtn {
|
||||||
top: 0;
|
top: 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user