style: add menu default textalign (#24253)

This commit is contained in:
xrkffgg 2020-05-18 17:07:33 +08:00 committed by GitHub
parent 32ee08caa5
commit 70c6e47cde
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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& {