mirror of https://github.com/ElemeFE/element
Dialog: update paddings
parent
d641360605
commit
81a7ef7634
|
@ -46,7 +46,7 @@ const install = function(Vue, opts = {}) {
|
|||
/* istanbul ignore if */
|
||||
if (typeof window !== 'undefined' && window.Vue) {
|
||||
install(window.Vue);
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
version: '{{version}}',
|
||||
|
|
|
@ -471,7 +471,7 @@ $--dialog-close-hover-color: $--color-primary !default;
|
|||
$--dialog-title-font-size: $--font-size-large !default;
|
||||
$--dialog-font-size: 14px !default;
|
||||
$--dialog-line-height: $--font-line-height-primary !default;
|
||||
$--dialog-padding-primary: 15px !default;
|
||||
$--dialog-padding-primary: 20px !default;
|
||||
|
||||
/* Table
|
||||
-------------------------- */
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
@import "common/var";
|
||||
@import "common/popup";
|
||||
|
||||
|
||||
@include b(dialog) {
|
||||
position: relative;
|
||||
margin: 0 auto 50px;
|
||||
|
@ -82,18 +81,13 @@
|
|||
@include m(center) {
|
||||
text-align: center;
|
||||
|
||||
@include e(header) {
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
@include e(body) {
|
||||
text-align: initial;
|
||||
padding: 25px ($--dialog-padding-primary + 12px) 30px;
|
||||
padding: 25px ($--dialog-padding-primary + 5px) 30px;
|
||||
}
|
||||
|
||||
@include e(footer) {
|
||||
text-align: inherit;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -168,7 +168,7 @@ const install = function(Vue, opts = {}) {
|
|||
/* istanbul ignore if */
|
||||
if (typeof window !== 'undefined' && window.Vue) {
|
||||
install(window.Vue);
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
version: '2.0.11',
|
||||
|
|
Loading…
Reference in New Issue