Dialog: update paddings

pull/9428/head
Leopoldthecoder 2018-01-23 18:25:49 +08:00
parent d641360605
commit 81a7ef7634
4 changed files with 4 additions and 10 deletions

View File

@ -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}}',

View File

@ -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
-------------------------- */

View File

@ -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;
}
}
}

View File

@ -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',