Skip to content

Commit 4b85ef9

Browse files
committed
ButtonGroup.withCopyButton improved rounded corners
1 parent 2e70fd2 commit 4b85ef9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/css/ui/components/button-group.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@
99
border-radius: 0;
1010
}
1111

12-
.button:first-child {
12+
:not(.copy-on-click) .button:first-child {
1313
border-top-left-radius: var(--border-radius-base);
1414
border-bottom-left-radius: var(--border-radius-base);
1515
}
1616

17-
.button:last-child {
17+
.button:last-child,
18+
.copy-on-click .button {
1819
border-top-right-radius: var(--border-radius-base);
1920
border-bottom-right-radius: var(--border-radius-base);
2021
}

0 commit comments

Comments
 (0)