File tree Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Expand file tree Collapse file tree 6 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,8 @@ export class UUIButtonElement extends FormControlMixin(
58
58
margin-left: calc(var(--uui-button-merge-border-left, 0) * -1px);
59
59
--uui-button-padding-left-factor: 3;
60
60
--uui-button-padding-right-factor: 3;
61
- --uui-button-padding-top-factor: 1;
62
- --uui-button-padding-bottom-factor: 1;
63
61
64
- height: var(--uui-button-height, auto );
62
+ height: var(--uui-button-height, var(--uui-size-11) );
65
63
max-height: 100%;
66
64
cursor: pointer;
67
65
@@ -124,10 +122,10 @@ export class UUIButtonElement extends FormControlMixin(
124
122
);
125
123
cursor: pointer;
126
124
127
- padding: calc(calc(8 / 15 * 1em) * var(--uui-button-padding-top-factor))
128
- calc(var(--uui-size-2) * var(--uui-button-padding-right-factor))
129
- calc(calc(8 / 15 * 1em) * var(--uui-button-padding-bottom-factor))
125
+ padding: 0
126
+ calc(var(--uui-size-2) * var(--uui-button-padding-right-factor)) 0
130
127
calc(var(--uui-size-2) * var(--uui-button-padding-left-factor));
128
+
131
129
vertical-align: middle;
132
130
box-shadow: none;
133
131
}
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ export class UUIComboboxElement extends FormControlMixin(LitElement) {
289
289
label="clear"
290
290
slot="append"
291
291
compact
292
- style="height: 100%; --uui-button-padding-top-factor: 0; --uui-button-padding-bottom-factor: 0; ">
292
+ style="height: 100%;">
293
293
< uui-icon name ="remove " .fallback =${ iconRemove . strings [ 0 ] } > </ uui-icon >
294
294
</ uui-button > ` ;
295
295
} ;
Original file line number Diff line number Diff line change @@ -20,8 +20,6 @@ export class UUIInputLockElement extends UUIInputElement {
20
20
#lock {
21
21
height: 100%;
22
22
23
- --uui-button-padding-top-factor: 0;
24
- --uui-button-padding-bottom-factor: 0;
25
23
--uui-button-padding-left-factor: 0.75;
26
24
--uui-button-padding-right-factor: 0.75;
27
25
font-size: 12px;
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ export class UUIInputPasswordElement extends UUIInputElement {
66
66
return html `< uui-button
67
67
.disabled =${ this . disabled }
68
68
@click =${ this . _onPasswordToggle }
69
- style="--uui-button-padding-top-factor: 0; --uui-button-padding-bottom-factor: 0"
70
69
compact
71
70
label="${ this . passwordType === 'password'
72
71
? 'Show password'
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ export class UUIInputElement extends FormControlMixin(LitElement) {
53
53
);
54
54
border: var(--uui-input-border-width, 1px) solid
55
55
var(--uui-input-border-color, var(--uui-color-border));
56
+
57
+ --uui-button-height: 100%;
56
58
}
57
59
:host(:hover) {
58
60
border-color: var(
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ export class UUIAppHeaderExample extends LitElement {
21
21
}
22
22
23
23
#logo {
24
- --uui-button-padding-top-factor: 1;
25
- --uui-button-padding-bottom-factor: 0.5;
26
24
margin-right: var(--uui-size-space-2);
27
25
}
28
26
You can’t perform that action at this time.
0 commit comments