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;
|
color: @sidebar-text-color;
|
||||||
font-size: @sidebar-font-size;
|
font-size: @sidebar-font-size;
|
||||||
line-height: @sidebar-line-height;
|
line-height: @sidebar-line-height;
|
||||||
word-wrap: break-word;
|
|
||||||
background-color: @sidebar-background-color;
|
background-color: @sidebar-background-color;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
@ -21,6 +20,8 @@
|
|||||||
&__text {
|
&__text {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
// https://github.com/youzan/vant/issues/7455
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:not(:last-child)::after {
|
&:not(:last-child)::after {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user