File tree Expand file tree Collapse file tree 1 file changed +24
-21
lines changed
src/components/Dialog/src Expand file tree Collapse file tree 1 file changed +24
-21
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ const dialogStyle = computed(() => {
67
67
lock-scroll
68
68
draggable
69
69
top =" 0"
70
+ class =" com-dialog"
70
71
:show-close =" false"
71
72
>
72
73
<template #header =" { close } " >
@@ -107,32 +108,34 @@ const dialogStyle = computed(() => {
107
108
</template >
108
109
109
110
<style lang="scss">
110
- .#{$elNamespace } -overlay-dialog {
111
- display : flex ;
112
- justify-content : center ;
113
- align-items : center ;
114
- }
111
+ .com-dialog {
112
+ .#{$elNamespace } -overlay-dialog {
113
+ display : flex ;
114
+ justify-content : center ;
115
+ align-items : center ;
116
+ }
115
117
116
- .#{$elNamespace } -dialog {
117
- margin : 0 !important ;
118
+ .#{$elNamespace } -dialog {
119
+ margin : 0 !important ;
118
120
119
- & __header {
120
- height : 54px ;
121
- padding : 0 ;
122
- margin-right : 0 !important ;
123
- border-bottom : 1px solid var (--el-border-color );
124
- }
121
+ & __header {
122
+ height : 54px ;
123
+ padding : 0 ;
124
+ margin-right : 0 !important ;
125
+ border-bottom : 1px solid var (--el-border-color );
126
+ }
125
127
126
- & __body {
127
- padding : 15px !important ;
128
- }
128
+ & __body {
129
+ padding : 15px !important ;
130
+ }
129
131
130
- & __footer {
131
- border-top : 1px solid var (--el-border-color );
132
- }
132
+ & __footer {
133
+ border-top : 1px solid var (--el-border-color );
134
+ }
133
135
134
- & __headerbtn {
135
- top : 0 ;
136
+ & __headerbtn {
137
+ top : 0 ;
138
+ }
136
139
}
137
140
}
138
141
</style >
You can’t perform that action at this time.
0 commit comments