Merged
requested to merge github/fork/louismaximepiton/main-lmp-floating-labels-border-fix into main
Fixes #36868 (closed)
The issue comes from #36759.
Problem explanation
From what I understand, the .form-control
/.form-select
is shifted of 1px compared to .form-floating
(which is not shifted himself). So the content following .form-floating
is shifted of 1px compared to .form-floating
. As we have the same shift inside and following .form-floating
, the following content seems not to be shifted compared to the input.
Solution
Shift the .form-floating
himself instead of its children.