Skip to content

Commit 026d423

Browse files
committed
fix: wrong border radius on last accordion panel
1 parent 5b521fa commit 026d423

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/accordion/_mixins.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ $divider-color-on-dark-bg: rgba(255, 255, 255, 0.2) !default;
139139
border-bottom-left-radius: 0;
140140
border-bottom-right-radius: 0;
141141
}
142+
&:first-child:not(:first-child) {
143+
border-top-left-radius: 0;
144+
border-top-right-radius: 0;
145+
}
142146
&:not(:first-child, :last-child) {
143147
border-radius: 0;
144148
}

0 commit comments

Comments
 (0)