mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 19:50:05 +08:00
Fix table filter dropdown style
This commit is contained in:
parent
36030e269b
commit
eaaca383f8
@ -35,38 +35,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-filter-dropdown {
|
||||
min-width: 88px;
|
||||
margin-left: -8px;
|
||||
margin-top: -6px;
|
||||
.ant-dropdown-menu-item {
|
||||
overflow: hidden;
|
||||
padding: 7px 8px;
|
||||
&.ant-dropdown-menu-item-selected {
|
||||
.selected_icon();
|
||||
}
|
||||
&.ant-dropdown-menu-item-selected:after {
|
||||
padding-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a.@{table-prefix-cls}-filter-dropdown-link {
|
||||
color: @link-color;
|
||||
&:hover {
|
||||
color: @link-hover-color;
|
||||
}
|
||||
&:active {
|
||||
color: @link-active-color;
|
||||
}
|
||||
&.confirm {
|
||||
float: left;
|
||||
}
|
||||
&.clear {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-filter-selected.anticon-bars {
|
||||
color: @primary-color;
|
||||
}
|
||||
@ -214,3 +182,35 @@
|
||||
margin: 16px 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.@{table-prefix-cls}-filter-dropdown {
|
||||
min-width: 88px;
|
||||
margin-left: -8px;
|
||||
margin-top: -6px;
|
||||
.ant-dropdown-menu-item {
|
||||
overflow: hidden;
|
||||
padding: 7px 8px;
|
||||
&.ant-dropdown-menu-item-selected {
|
||||
.selected_icon();
|
||||
}
|
||||
&.ant-dropdown-menu-item-selected:after {
|
||||
padding-right: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
a&-link {
|
||||
color: @link-color;
|
||||
&:hover {
|
||||
color: @link-hover-color;
|
||||
}
|
||||
&:active {
|
||||
color: @link-active-color;
|
||||
}
|
||||
&.confirm {
|
||||
float: left;
|
||||
}
|
||||
&.clear {
|
||||
float: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user