Skip to content

Commit d31bfa3

Browse files
committed
Use 'visibility: hidden' to keep size consistent
1 parent 4c54cf7 commit d31bfa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/input/input.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@
597597
* This removes the slotted items on floating label when empty and no focus.
598598
*/
599599
:host(.input-label-placement-floating:not(.has-focus):not(.has-value)) .native-wrapper > [slot] {
600-
display: none;
600+
visibility: hidden;
601601
}
602602

603603
// Start/End Slots

0 commit comments

Comments
 (0)