Skip to content

Commit

Permalink
fix(styles): invalid CSS selector (#3343)
Browse files Browse the repository at this point in the history
  • Loading branch information
gfellerph authored Jul 24, 2024
1 parent c202fa1 commit 2b8496d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-bugs-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@swisspost/design-system-styles': patch
---

Fixed a broken CSS selector in the alerts styles. The file now produces valid output again.
7 changes: 4 additions & 3 deletions packages/styles/src/components/alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@
> ::slotted(.btn) {
flex: 1 0 0;
width: 100%;
}

&:first-child {
margin-inline-start: 0;
}
> .btn:first-child,
> ::slotted(.btn:first-child) {
margin-inline-start: 0;
}
}
}
Expand Down

0 comments on commit 2b8496d

Please sign in to comment.