Commit 29f2f99401ff24240c2ea4b2afe1af7ec4f13a41

Authored by xingyu4j
1 parent ddca5f77

fix: dialog

yudao-ui-admin-vue3/src/components/Dialog/src/Dialog.vue
@@ -11,7 +11,7 @@ const props = defineProps({ @@ -11,7 +11,7 @@ const props = defineProps({
11 title: propTypes.string.def('Dialog'), 11 title: propTypes.string.def('Dialog'),
12 fullscreen: propTypes.bool.def(true), 12 fullscreen: propTypes.bool.def(true),
13 maxHeight: propTypes.oneOfType([String, Number]).def('300px'), 13 maxHeight: propTypes.oneOfType([String, Number]).def('300px'),
14 - width: propTypes.oneOfType([String, Number]).def('35%') 14 + width: propTypes.oneOfType([String, Number]).def('40%')
15 }) 15 })
16 16
17 const getBindValue = computed(() => { 17 const getBindValue = computed(() => {
@@ -95,9 +95,15 @@ const dialogStyle = computed(() => { @@ -95,9 +95,15 @@ const dialogStyle = computed(() => {
95 <style lang="less"> 95 <style lang="less">
96 .@{elNamespace}-dialog__header { 96 .@{elNamespace}-dialog__header {
97 margin-right: 0 !important; 97 margin-right: 0 !important;
  98 + padding-bottom: 6px;
  99 + padding-top: 10px;
98 border-bottom: 1px solid var(--tags-view-border-color); 100 border-bottom: 1px solid var(--tags-view-border-color);
99 } 101 }
100 102
  103 +.@{elNamespace}-dialog__headerbtn {
  104 + top: -4px !important;
  105 +}
  106 +
101 .@{elNamespace}-dialog__footer { 107 .@{elNamespace}-dialog__footer {
102 border-top: 0px solid var(--tags-view-border-color); 108 border-top: 0px solid var(--tags-view-border-color);
103 } 109 }