fix: dialog

This commit is contained in:
xingyu4j 2022-11-15 11:45:25 +08:00
parent ddca5f77e0
commit 29f2f99401

View File

@ -11,7 +11,7 @@ const props = defineProps({
title: propTypes.string.def('Dialog'),
fullscreen: propTypes.bool.def(true),
maxHeight: propTypes.oneOfType([String, Number]).def('300px'),
width: propTypes.oneOfType([String, Number]).def('35%')
width: propTypes.oneOfType([String, Number]).def('40%')
})
const getBindValue = computed(() => {
@ -95,9 +95,15 @@ const dialogStyle = computed(() => {
<style lang="less">
.@{elNamespace}-dialog__header {
margin-right: 0 !important;
padding-bottom: 6px;
padding-top: 10px;
border-bottom: 1px solid var(--tags-view-border-color);
}
.@{elNamespace}-dialog__headerbtn {
top: -4px !important;
}
.@{elNamespace}-dialog__footer {
border-top: 0px solid var(--tags-view-border-color);
}