Skip to content

Commit 9f335f5

Browse files
committed
chore(collapsible-section): add private custom css props to control header's border radius
Using a private custom CSS prop for controlling header's bottom border radius can allow consumer components to conditionally style more details. This will be particularly useful when implementing the drag to reorder feature.
1 parent 74fa846 commit 9f335f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/collapsible-section/collapsible-section.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,9 @@
5050
rgb(var(--contrast-100))
5151
);
5252
border-radius: var(--border-radius-of-header)
53-
var(--border-radius-of-header) 0 0;
53+
var(--border-radius-of-header)
54+
var(--limel-cs-open-header-bottom-border-radius, 0)
55+
var(--limel-cs-open-header-bottom-border-radius, 0);
5456
&:hover,
5557
&:focus-visible {
5658
background-color: var(

0 commit comments

Comments
 (0)