mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
Add a new less variable to override the list header background (#14519)
* Add a new less variable to override the list header background * Add a new less variable to override the list footer background
This commit is contained in:
parent
47e23d4137
commit
8bb3b10c01
@ -108,6 +108,14 @@
|
||||
}
|
||||
}
|
||||
|
||||
&-header {
|
||||
background: @list-header-background;
|
||||
}
|
||||
|
||||
&-footer {
|
||||
background: @list-footer-background;
|
||||
}
|
||||
|
||||
&-header,
|
||||
&-footer {
|
||||
padding-top: 12px;
|
||||
|
@ -563,6 +563,8 @@
|
||||
|
||||
// List
|
||||
// ---
|
||||
@list-header-background: transparent;
|
||||
@list-footer-background: transparent;
|
||||
@list-empty-text-padding: @padding-md;
|
||||
@list-item-padding: @padding-sm 0;
|
||||
@list-item-content-margin: 0 0 @padding-md 0;
|
||||
|
Loading…
Reference in New Issue
Block a user