Skip to content

Commit b867329

Browse files
committed
fix buttons last button border with hidden last child
1 parent f83a86e commit b867329

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

web_src/css/modules/button.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ It needs some tricks to tweak the left/right borders with active state */
6161
border-right: none;
6262
}
6363

64-
.ui.buttons .button:first-child {
64+
.ui.buttons .button:first-child,
65+
.ui.buttons .button.gt-hidden:first-child + .button {
6566
border-left: 1px solid var(--color-light-border);
6667
}
6768

68-
.ui.buttons .button:last-child {
69+
.ui.buttons .button:last-child,
70+
.ui.buttons .button:nth-last-child(2):has(+ .button.gt-hidden) {
6971
border-right: 1px solid var(--color-light-border);
7072
}
7173

0 commit comments

Comments
 (0)