mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-26 03:26:35 +08:00
fix(SidebarItem): long number wrap (#3714)
This commit is contained in:
parent
12b2e813ad
commit
f382c2b7c1
@ -5,7 +5,6 @@
|
|||||||
display: block;
|
display: block;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
word-wrap: break-word;
|
|
||||||
border-left: 3px solid transparent;
|
border-left: 3px solid transparent;
|
||||||
user-select: none;
|
user-select: none;
|
||||||
.theme(padding, '@sidebar-padding');
|
.theme(padding, '@sidebar-padding');
|
||||||
@ -17,6 +16,7 @@
|
|||||||
&__text {
|
&__text {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--hover:not(&--disabled) {
|
&--hover:not(&--disabled) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user