Skip to content

Commit

Permalink
fix(uui-action-bar): target any slotted element (#964)
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslyngsoe authored Nov 27, 2024
1 parent bb51831 commit 03fe69c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/uui-action-bar/lib/uui-action-bar.element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ export class UUIActionBarElement extends UUIButtonGroupElement {
--uui-button-padding-right-factor: 0.5;
}
::slotted(uui-button:first-child) {
::slotted(*:first-child) {
--uui-button-border-radius: 50px 0 0 50px;
--uui-button-padding-left-factor: 2;
}
::slotted(uui-button:last-child) {
::slotted(*:last-child) {
--uui-button-border-radius: 0 50px 50px 0;
--uui-button-padding-right-factor: 2;
}
::slotted(uui-button:first-child:last-child) {
::slotted(*:first-child:last-child) {
--uui-button-border-radius: 50px 50px 50px 50px;
--uui-button-padding-left-factor: 2;
--uui-button-padding-right-factor: 2;
Expand Down

0 comments on commit 03fe69c

Please sign in to comment.