Skip to content

Commit

Permalink
style: add menu default textalign (#24253)
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed May 18, 2020
1 parent 32ee08c commit 70c6e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/menu/style/index.less
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion components/menu/style/rtl.less
Expand Up @@ -6,6 +6,7 @@
.@{menu-prefix-cls} {
&-rtl {
direction: rtl;
text-align: right;
}

&-item-group-title {
Expand All @@ -22,7 +23,6 @@
}
}


&-dark&-inline,
&-dark&-vertical {
.@{menu-prefix-cls}-rtl& {
Expand Down

0 comments on commit 70c6e47

Please sign in to comment.