mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-05-22 14:39:16 +08:00
style(Sidebar): fix long number wrap (#7456)
This commit is contained in:
parent
ff7742670b
commit
f4402f9a91
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user