Skip to content

Commit 1607427

Browse files
committed
only merge border on certain button looks
1 parent 41f72f0 commit 1607427

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

packages/uui-button-group/lib/uui-button-group.element.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@ export class UUIButtonGroupElement extends LitElement {
1919
--uui-button-border-radius: 0;
2020
flex-grow: 1;
2121
}
22-
::slotted(*:not(:first-child)) {
22+
23+
::slotted([look='outline']:not(:first-child)) {
24+
--uui-button-merge-border-left: 1;
25+
}
26+
::slotted([look='placeholder']:not(:first-child)) {
2327
--uui-button-merge-border-left: 1;
2428
}
29+
2530
::slotted(*:first-child) {
2631
--uui-button-border-radius: var(--uui-border-radius) 0 0
2732
var(--uui-border-radius);

0 commit comments

Comments
 (0)