File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
components/breadcrumb/demos Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export default function Demo() {
28
28
Home
29
29
</div >
30
30
),
31
+ link: true ,
31
32
},
32
33
{
33
34
id: 1 ,
Original file line number Diff line number Diff line change 2
2
@include e (list ) {
3
3
display : flex ;
4
4
flex-wrap : wrap ;
5
- gap : 4px 8 px ;
5
+ gap : 4px 2 px ;
6
6
align-items : center ;
7
7
padding : 0 ;
8
- margin : 0 ;
8
+ margin : 0 -6 px ;
9
9
list-style : none ;
10
10
}
11
11
12
12
@include e (item) {
13
+ padding : 0 6px ;
14
+ line-height : 1.5 ;
13
15
color : var (--#{$rd-prefix}text-color-sub );
16
+ border-radius : var (--#{$rd-prefix}border-radius );
14
17
15
18
@include m (link) {
16
19
cursor : pointer ;
17
- transition : color var (--#{$rd-prefix}animation-duration-base ) linear ;
20
+ transition : color var (--#{$rd-prefix}animation-duration-base ) linear ,
21
+ background-color var (--#{$rd-prefix}animation-duration-base ) linear ;
18
22
19
23
& :hover {
20
24
color : var (--#{$rd-prefix}text-color );
25
+ background-color : var (--#{$rd-prefix}background-color-gray );
21
26
}
22
27
}
23
28
You can’t perform that action at this time.
0 commit comments