Commit a76547ea authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Dialog: remove unnecessary inline style

parent 09761ca5
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
return `el-dialog--${ this.size }`; return `el-dialog--${ this.size }`;
}, },
style() { style() {
return this.size === 'full' ? {} : { 'margin-bottom': '50px', 'top': this.top }; return this.size === 'full' ? {} : { 'top': this.top };
} }
}, },
......
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
border-radius: var(--border-radius-small); border-radius: var(--border-radius-small);
box-shadow: var(--dialog-box-shadow); box-shadow: var(--dialog-box-shadow);
box-sizing: border-box; box-sizing: border-box;
margin-bottom: 50px;
@modifier tiny { @modifier tiny {
width: var(--dialog-tiny-width); width: var(--dialog-tiny-width);
...@@ -28,6 +29,7 @@ ...@@ -28,6 +29,7 @@
@modifier full { @modifier full {
width: 100%; width: 100%;
top: 0; top: 0;
margin-bottom: 0;
height: 100%; height: 100%;
overflow: auto; overflow: auto;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment