Commit d799544a authored by 刘安琪's avatar 刘安琪

调整dialog按钮间距

parent d011c378
...@@ -99,11 +99,17 @@ ...@@ -99,11 +99,17 @@
@include e(footer) { @include e(footer) {
padding: 0 0 $--dialog-padding-footer 0; padding: 0 0 $--dialog-padding-footer 0;
text-align: right; text-align: center;
box-sizing: border-box; box-sizing: border-box;
& button:nth-child(2) { & button:nth-child(2) {
margin-left: 20px; margin-left: 16px;
}
& button:nth-child(3) {
margin-left: 16px;
}
& button:nth-child(2) {
margin-left: 16px;
} }
} }
......
...@@ -638,11 +638,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/ ...@@ -638,11 +638,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
word-break: break-all; } word-break: break-all; }
.el-dialog__footer { .el-dialog__footer {
padding: 0 0 40px 0; padding: 0 0 40px 0;
text-align: right; text-align: center;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; } box-sizing: border-box; }
.el-dialog__footer button:nth-child(2) { .el-dialog__footer button:nth-child(2) {
margin-left: 20px; } margin-left: 16px; }
.el-dialog__footer button:nth-child(3) {
margin-left: 16px; }
.el-dialog__footer button:nth-child(2) {
margin-left: 16px; }
.el-dialog--center { .el-dialog--center {
text-align: center; } text-align: center; }
.el-dialog--center .el-dialog__body { .el-dialog--center .el-dialog__body {
......
...@@ -5316,11 +5316,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/ ...@@ -5316,11 +5316,15 @@ $--checkbox-disabled-checked-icon-color: $--disabled-fill-base !default;*/
word-break: break-all; } word-break: break-all; }
.el-dialog__footer { .el-dialog__footer {
padding: 0 0 40px 0; padding: 0 0 40px 0;
text-align: right; text-align: center;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
box-sizing: border-box; } box-sizing: border-box; }
.el-dialog__footer button:nth-child(2) { .el-dialog__footer button:nth-child(2) {
margin-left: 20px; } margin-left: 16px; }
.el-dialog__footer button:nth-child(3) {
margin-left: 16px; }
.el-dialog__footer button:nth-child(2) {
margin-left: 16px; }
.el-dialog--center { .el-dialog--center {
text-align: center; } text-align: center; }
.el-dialog--center .el-dialog__body { .el-dialog--center .el-dialog__body {
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