Skip to content

Commit 43d1fcd

Browse files
authored
fix: details component - less specific styles (#9868)
2 parents 5a7b9a6 + e31a85f commit 43d1fcd

File tree

5 files changed

+3
-20
lines changed

5 files changed

+3
-20
lines changed

packages/components/src/components/details/style.scss

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,12 @@
33
@use '../host-display-block' as *;
44
@use '../@shared/collapsible.mixin' as *;
55
@use '../@shared/icon.mixin' as *;
6+
@use '../@shared/button.mixin' as *;
67

78
@layer kol-component {
9+
@include kol-button-styles('kol-button');
810
@include kol-icon-styles();
911
.kol-details {
10-
&__heading-button {
11-
display: flex;
12-
13-
.kol-button {
14-
min-height: auto;
15-
16-
.kol-span {
17-
&__label {
18-
border-bottom-color: grey;
19-
border-bottom-style: solid;
20-
}
21-
}
22-
}
23-
}
24-
2512
.collapsible--open &__heading-button {
2613
.kol-icon {
2714
transform: rotate(90deg);
1.63 KB
Loading
251 Bytes
Loading

packages/themes/default/src/components/details.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535

3636
&__label {
37-
border-bottom-color: #000;
37+
border-bottom: 3px solid black;
3838
}
3939
}
4040

packages/themes/kern/src/components/details.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,6 @@
2020
.kol-icon {
2121
font-size: to-rem(24);
2222
}
23-
24-
.kol-span__label {
25-
border-bottom: 0;
26-
}
2723
}
2824

2925
.kol-details {

0 commit comments

Comments
 (0)