Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
fix(nav): render issue in safari when nav collapsed (#276)
Browse files Browse the repository at this point in the history
fix #272
  • Loading branch information
Kimi-Gao committed May 15, 2020
1 parent 49fcfe7 commit 244a891
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Nav/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,11 @@

.@{prefix-cls}-nav__item-icon,
.@{prefix-cls}-nav__sub-nav-title-icon {
margin-right: @ui-unit;
margin-right: @ui-unit-double + 2px;
text-align: center;
svg {
position: absolute; // fix `float:left` rendering bug in safari
}
}

.@{prefix-cls}-nav__sub-nav-title-toggle {
Expand Down

0 comments on commit 244a891

Please sign in to comment.