mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 19:49:59 +08:00
Drawer Body padding should be variable
This commit is contained in:
parent
66786c7c4b
commit
29647f073a
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user