Skip to content

Commit de89ea0

Browse files
authored
fix(ui5-input): apply content-box to all slotted icons with !important (#6948)
FIXES: #6071
1 parent e82744b commit de89ea0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/main/src/themes/Input.css

+2
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,8 @@
376376
::slotted([ui5-icon][slot="icon"]) {
377377
align-self: start;
378378
padding: var(--_ui5_input_custom_icon_padding);
379+
/* Normalize like libraries overrule the selector, thefore we need !important */
380+
box-sizing: content-box !important;
379381
}
380382

381383
:host([value-state="Error"]) [input-icon],

0 commit comments

Comments
 (0)