Skip to content

Commit 07bf579

Browse files
committed
chore: after review
1 parent 9e1d865 commit 07bf579

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

packages/components/button/button-group.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919

2020
&:not(:has(> :not(.kbq-contrast-fade.kbq-button_filled))),
2121
&:not(:has(> :not(.kbq-contrast.kbq-button_filled))) {
22-
:is(.kbq-button, .kbq-button-icon),
23-
:is(.kbq-button, .kbq-button-icon):hover {
22+
:is(.kbq-button, .kbq-button-icon) {
2423
background-clip: padding-box !important;
2524
}
2625
}
2726

2827
&.kbq-contrast-fade.kbq-button-group-root_filled {
28+
// internal css variable, so don't prefixed with kbq
2929
--button-group-divider-color: var(--kbq-line-contrast-fade);
3030

3131
&.kbq-button-group_horizontal {
@@ -37,7 +37,7 @@
3737
left: calc(-1 * var(--kbq-size-border-width));
3838
top: 0;
3939
bottom: 0;
40-
width: 1px;
40+
width: var(--kbq-size-border-width);
4141
background: var(--button-group-divider-color);
4242
}
4343
}
@@ -49,7 +49,7 @@
4949
top: calc(-1 * var(--kbq-size-border-width));
5050
left: 0;
5151
right: 0;
52-
height: 1px;
52+
height: var(--kbq-size-border-width);
5353
background: var(--button-group-divider-color);
5454
}
5555
}

0 commit comments

Comments
 (0)