Skip to content

Commit

Permalink
fix: support word wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-huxiyang committed Dec 27, 2024
1 parent a6c6a7a commit e737a7c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/packages/sidebar/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@
&-text {
font-family: PingFangSC-Regular;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
white-space: normal;
color: $color-text;
width: $sidebar-width;
}
&-active .nut-sidebar-titles-item-text {
font-family: PingFangSC-Semibold;
Expand Down

0 comments on commit e737a7c

Please sign in to comment.