File tree Expand file tree Collapse file tree
components/breadcrumb/demos Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ export default function Demo() {
2828 Home
2929 </div >
3030 ),
31+ link: true ,
3132 },
3233 {
3334 id: 1 ,
Original file line number Diff line number Diff line change 22 @include e (list ) {
33 display : flex ;
44 flex-wrap : wrap ;
5- gap : 4px 8 px ;
5+ gap : 4px 2 px ;
66 align-items : center ;
77 padding : 0 ;
8- margin : 0 ;
8+ margin : 0 -6 px ;
99 list-style : none ;
1010 }
1111
1212 @include e (item) {
13+ padding : 0 6px ;
14+ line-height : 1.5 ;
1315 color : var (--#{$rd-prefix}text-color-sub );
16+ border-radius : var (--#{$rd-prefix}border-radius );
1417
1518 @include m (link) {
1619 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 ;
1822
1923 & :hover {
2024 color : var (--#{$rd-prefix}text-color );
25+ background-color : var (--#{$rd-prefix}background-color-gray );
2126 }
2227 }
2328
You can’t perform that action at this time.
0 commit comments