style(Sidebar): fix long number wrap (#7456)

This commit is contained in:
neverland
2020-10-31 07:52:27 +08:00
committed by GitHub
parent ff7742670b
commit f4402f9a91

View File

@@ -9,7 +9,6 @@
color: @sidebar-text-color;
font-size: @sidebar-font-size;
line-height: @sidebar-line-height;
word-wrap: break-word;
background-color: @sidebar-background-color;
cursor: pointer;
user-select: none;
@@ -21,6 +20,8 @@
&__text {
position: relative;
display: inline-block;
// https://github.com/youzan/vant/issues/7455
word-break: break-all;
}
&:not(:last-child)::after {