Skip to content

Commit 3c340bb

Browse files
committed
corrected paddings
1 parent 821ae08 commit 3c340bb

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

packages/uui-action-bar/lib/uui-action-bar.element.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ export class UUIActionBarElement extends UUIButtonGroupElement {
1010
...UUIButtonGroupElement.styles,
1111
css`
1212
::slotted(*) {
13-
--uui-button-slot-padding-r-factor: 0.333;
14-
--uui-button-slot-padding-l-factor: 0.333;
13+
--uui-button-slot-padding-r-factor: 0.5;
14+
--uui-button-slot-padding-l-factor: 0.5;
1515
}
1616
1717
::slotted(uui-button:first-child) {
1818
--uui-button-border-radius: 50px 0 0 50px;
19-
--uui-button-slot-padding-l-factor: 1.666;
19+
--uui-button-slot-padding-l-factor: 1.5;
2020
}
2121
::slotted(uui-button:last-child) {
2222
--uui-button-border-radius: 0 50px 50px 0;
23-
--uui-button-slot-padding-r-factor: 1.666;
23+
--uui-button-slot-padding-r-factor: 1.5;
2424
}
2525
::slotted(uui-button:first-child:last-child) {
2626
--uui-button-border-radius: 50px 50px 50px 50px;
@@ -30,25 +30,25 @@ export class UUIActionBarElement extends UUIButtonGroupElement {
3030
3131
::slotted([look='outline']),
3232
::slotted([look='placeholder']) {
33-
--uui-button-slot-padding-r-factor: 0.666;
34-
--uui-button-slot-padding-l-factor: 0.666;
33+
--uui-button-slot-padding-r-factor: 1;
34+
--uui-button-slot-padding-l-factor: 1;
3535
}
3636
3737
::slotted(uui-button[look='outline']:first-child),
3838
::slotted(uui-button[look='placeholder']:first-child) {
3939
--uui-button-border-radius: 50px 0 0 50px;
40-
--uui-button-slot-padding-l-factor: 0.8;
40+
--uui-button-slot-padding-l-factor: 1.5;
4141
}
4242
::slotted(uui-button[look='outline']:last-child),
4343
::slotted(uui-button[look='placeholder']:last-child) {
4444
--uui-button-border-radius: 0 50px 50px 0;
45-
--uui-button-slot-padding-r-factor: 0.8;
45+
--uui-button-slot-padding-r-factor: 1.5;
4646
}
4747
::slotted(uui-button[look='outline']:first-child:last-child),
4848
::slotted(uui-button[look='placeholder']:first-child:last-child) {
4949
--uui-button-border-radius: 50px 50px 50px 50px;
50-
--uui-button-slot-padding-l-factor: 0.8;
51-
--uui-button-slot-padding-r-factor: 0.8;
50+
--uui-button-slot-padding-l-factor: 1.5;
51+
--uui-button-slot-padding-r-factor: 1.5;
5252
}
5353
`,
5454
];

0 commit comments

Comments
 (0)