diff --git a/components/menu/style/index.less b/components/menu/style/index.less index 73d2aa196c..c522c4d2b3 100644 --- a/components/menu/style/index.less +++ b/components/menu/style/index.less @@ -12,6 +12,7 @@ color: @menu-item-color; font-size: @menu-item-font-size; line-height: 0; // Fix display inline-block gap + text-align: left; list-style: none; background: @menu-bg; outline: none; diff --git a/components/menu/style/rtl.less b/components/menu/style/rtl.less index a2b6391d2c..8dc0eaf476 100644 --- a/components/menu/style/rtl.less +++ b/components/menu/style/rtl.less @@ -6,6 +6,7 @@ .@{menu-prefix-cls} { &-rtl { direction: rtl; + text-align: right; } &-item-group-title { @@ -22,7 +23,6 @@ } } - &-dark&-inline, &-dark&-vertical { .@{menu-prefix-cls}-rtl& {