Skip to content

Commit 4c15bb3

Browse files
authored
Fix ButtonGroup corners (#80)
1 parent 97f11d7 commit 4c15bb3

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/Lumi/Components/ButtonGroup.purs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ styles = jss
4141
, flexFlow: "row"
4242

4343
, "&[data-joined=false] > lumi-button-group-child":
44-
{ marginRight: "10px"
45-
, "&:last-child": { marginRight: "0" }
44+
{ marginRight: 10
45+
, "&:last-child": { marginRight: 0 }
4646
}
4747

4848
, "&[data-joined=true] > lumi-button-group-child":
49-
{ "&:not(:last-child)":
50-
{ marginRight: "-1px"
51-
, borderTopRightRadius: "0"
52-
, borderBottomRightRadius: "0"
49+
{ "&:not(:last-child) button.lumi":
50+
{ marginRight: -1
51+
, borderTopRightRadius: 0
52+
, borderBottomRightRadius: 0
5353
}
54-
, "&:not(:first-child)":
55-
{ borderTopLeftRadius: "0"
56-
, borderBottomLeftRadius: "0"
54+
, "&:not(:first-child) button.lumi":
55+
{ borderTopLeftRadius: 0
56+
, borderBottomLeftRadius: 0
5757
}
5858
, "&:focus": { zIndex: ziButtonGroup }
5959
, "&:hover": { zIndex: ziButtonGroup }

0 commit comments

Comments
 (0)