mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
style(TreeSelect): allow select text in content slot (#10081)
This commit is contained in:
parent
4cc269c1f2
commit
45e7e15c2d
@ -15,7 +15,6 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
font-size: var(--van-tree-select-font-size);
|
font-size: var(--van-tree-select-font-size);
|
||||||
user-select: none;
|
|
||||||
|
|
||||||
&__nav {
|
&__nav {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
@ -24,6 +23,7 @@
|
|||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
|
|
||||||
&-item {
|
&-item {
|
||||||
|
user-select: none;
|
||||||
padding: var(--van-tree-select-nav-item-padding);
|
padding: var(--van-tree-select-nav-item-padding);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -40,6 +40,7 @@
|
|||||||
padding: 0 32px 0 var(--van-padding-md);
|
padding: 0 32px 0 var(--van-padding-md);
|
||||||
font-weight: var(--van-font-weight-bold);
|
font-weight: var(--van-font-weight-bold);
|
||||||
line-height: var(--van-tree-select-item-height);
|
line-height: var(--van-tree-select-item-height);
|
||||||
|
user-select: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&--active {
|
&--active {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user