Drawer Body padding should be variable

This commit is contained in:
yoyo837 2019-03-01 11:17:54 +08:00 committed by 偏右
parent 66786c7c4b
commit 29647f073a
2 changed files with 7 additions and 2 deletions

View File

@ -150,7 +150,7 @@
&-header {
position: relative;
padding: 16px 24px;
padding: @drawer-header-padding;
color: @text-color;
background: @component-background;
border-bottom: @border-width-base @border-style-base @border-color-split;
@ -163,7 +163,7 @@
}
&-body {
padding: 24px;
padding: @drawer-body-padding;
font-size: @font-size-base;
line-height: @line-height-base;
word-wrap: break-word;

View File

@ -579,3 +579,8 @@
@statistic-content-font-size: 24px;
@statistic-unit-font-size: 16px;
@statistic-font-family: Tahoma, 'Helvetica Neue', @font-family;
// Drawer
// ---
@drawer-header-padding: 16px 24px;
@drawer-body-padding: 24px;