Skip to content

Commit 503c945

Browse files
committed
fix(Breadcrumb): fix use Link Tag no style
1 parent 7c68203 commit 503c945

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

src/breadcrumb/scss/mixin.scss

+17-1
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,23 @@
7777
) {
7878
.#{$css-prefix}breadcrumb-text {
7979
color: $textColor;
80-
8180
> b {
8281
color: $keywordTextColor;
8382
}
83+
> a {
84+
color: $textColor;
85+
text-decoration: none;
86+
text-align: center;
87+
}
8488
}
8589

8690
.#{$css-prefix}breadcrumb-text.activated {
8791
color: $currentTextColor;
8892
font-weight: $currentTextWeight;
93+
> a {
94+
color: $currentTextColor;
95+
font-weight: $currentTextWeight;
96+
}
8997
}
9098

9199
.#{$css-prefix}breadcrumb-text-ellipsis {
@@ -97,6 +105,14 @@
97105
color: $iconColor;
98106
}
99107

108+
.#{$css-prefix}breadcrumb-text:not(.next-breadcrumb-text-ellipsis):hover > a {
109+
color: $textColorHover;
110+
}
111+
112+
a.#{$css-prefix}breadcrumb-text.activated:hover > a {
113+
color: $currentTextColorHover;
114+
}
115+
100116
a.#{$css-prefix}breadcrumb-text:not(.next-breadcrumb-text-ellipsis):hover {
101117
color: $textColorHover;
102118

0 commit comments

Comments
 (0)