Browse Source

style: fix menu rtl style (#23319)

pull/23351/head
xrkffgg 5 years ago
committed by GitHub
parent
commit
7d5910faf0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      components/menu/style/rtl.less

17
components/menu/style/rtl.less

@ -22,6 +22,15 @@
}
}
&-dark {
.@{menu-prefix-cls}-inline,
.@{menu-prefix-cls}-vertical {
.@{menu-prefix-cls}-rtl& {
border-left: none;
}
}
}
&-vertical&-sub,
&-vertical-left&-sub,
&-vertical-right&-sub {
@ -125,6 +134,14 @@
}
}
&-inline-collapsed&-vertical {
.@{menu-prefix-cls}-submenu-title {
.@{menu-prefix-cls}-rtl& {
padding: 0 (@menu-collapsed-width - @menu-icon-size-lg) / 2;
}
}
}
&-item-group-list {
.@{menu-prefix-cls}-item,
.@{menu-prefix-cls}-submenu-title {

Loading…
Cancel
Save