bug(@vtmn/css): display issue for the vtmn-select_container when the text are too long #1473
Labels
bug 🐛
Something isn't working
community 👥
As we stopped improvements for this version of Vitamin, this issue needs to be done by the community
CSS 🎨
Related to CSS styles packages
Actual behavior
I am a developper in Myaccount Team, we have seen issues with the select (
.vtmn-select_container
).The label is displayed only in one line but it is problematic for long translations for example. See the screenshot :
the option inside the select is too long and the display of the select goes out the window
Expected behavior
allow a long label in multiples lines.
fix the display of the select when the option text is too long
To fix the issues, I have made this modifications in my code
add a container around the select
overwrite the following css
The code of the
::before
is the same as.vtmn-select_container::before
except the position, float and inset-block-startVersion affected
"@vtmn/css": "^0.91.5",
You can contact me or Myaccount Team if you have any questions.
Thanks
Lionel
The text was updated successfully, but these errors were encountered: