mirror of https://github.com/ElemeFE/element
Dialog: remove unnecessary inline style
parent
09761ca59b
commit
a76547eaa3
|
@ -110,7 +110,7 @@
|
|||
return `el-dialog--${ this.size }`;
|
||||
},
|
||||
style() {
|
||||
return this.size === 'full' ? {} : { 'margin-bottom': '50px', 'top': this.top };
|
||||
return this.size === 'full' ? {} : { 'top': this.top };
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
@ -12,6 +12,7 @@
|
|||
border-radius: var(--border-radius-small);
|
||||
box-shadow: var(--dialog-box-shadow);
|
||||
box-sizing: border-box;
|
||||
margin-bottom: 50px;
|
||||
|
||||
@modifier tiny {
|
||||
width: var(--dialog-tiny-width);
|
||||
|
@ -28,6 +29,7 @@
|
|||
@modifier full {
|
||||
width: 100%;
|
||||
top: 0;
|
||||
margin-bottom: 0;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue