Skip to content

Commit

Permalink
refactor(disclosure): use class to target summary slot
Browse files Browse the repository at this point in the history
Co-authored-by: Benny Powers - עם ישראל חי! <[email protected]>
  • Loading branch information
adamjohnson and bennypowers authored Jan 15, 2025
1 parent 528cbf1 commit 117fb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elements/rh-disclosure/demo/slotted-summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</script>

<style>
span[slot='summary'] {
span.icon {
display: inline-flex;
align-items: center;
gap: var(--rh-space-sm, 6px);
Expand Down

0 comments on commit 117fb13

Please sign in to comment.