mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 11:32:52 +08:00
fix: Styling issue where all spans next to a checkbox wrapper get a padding (#17752)
* fix styling issue * Added padding for span only when there is a checkbox in front of it
This commit is contained in:
parent
06eb86c360
commit
5a32990874
@ -150,7 +150,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.@{checkbox-prefix-cls}-wrapper + span,
|
|
||||||
.@{checkbox-prefix-cls} + span {
|
.@{checkbox-prefix-cls} + span {
|
||||||
padding-right: 8px;
|
padding-right: 8px;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
|
@ -473,6 +473,10 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.@{ant-prefix}-checkbox-wrapper + span {
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
> .@{ant-prefix}-dropdown-menu > .@{ant-prefix}-dropdown-menu-item:last-child,
|
> .@{ant-prefix}-dropdown-menu > .@{ant-prefix}-dropdown-menu-item:last-child,
|
||||||
> .@{ant-prefix}-dropdown-menu
|
> .@{ant-prefix}-dropdown-menu
|
||||||
> .@{ant-prefix}-dropdown-menu-submenu:last-child
|
> .@{ant-prefix}-dropdown-menu-submenu:last-child
|
||||||
|
Loading…
Reference in New Issue
Block a user