Browse Source

fix: long submenu title display (#23028)

* fix: long submenu title display

* fix: long submenu title display (rtl)
pull/23036/head
Jehu 5 years ago
committed by GitHub
parent
commit
de38c681cf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      components/menu/style/index.less
  2. 9
      components/menu/style/rtl.less

6
components/menu/style/index.less

@ -419,6 +419,12 @@
}
}
&-vertical {
.@{menu-prefix-cls}-submenu-title {
padding-right: 34px;
}
}
&-inline {
width: 100%;
.@{menu-prefix-cls}-selected,

9
components/menu/style/rtl.less

@ -125,6 +125,15 @@
}
}
&-vertical {
.@{menu-prefix-cls}-submenu-title {
.@{menu-prefix-cls}-rtl& {
padding-right: 16px;
padding-left: 34px;
}
}
}
&-item-group-list {
.@{menu-prefix-cls}-item,
.@{menu-prefix-cls}-submenu-title {

Loading…
Cancel
Save