-
Greetings from a new UI5 web components fan! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Miklos, The misalignment of the components has been reported a couple of times and we plan to improve the default alignment of the components. You can track the progress here: Until we fix this, you can use the suggested solution of wrapping them in a div and styling them with It is a bit more code, but might be still necessary for a mixed case when you have other web components or even native elements that might also be misaligned. |
Beta Was this translation helpful? Give feedback.
Hi Miklos,
thanks for the nice words, really glad to hear positive experiences.
The misalignment of the components has been reported a couple of times and we plan to improve the default alignment of the components. You can track the progress here:
#3492
Until we fix this, you can use the suggested solution of wrapping them in a div and styling them with
dislay: flex
and aligning them vertically withalign-items: center;
as suggested in this comment and the linked sample:#3492 (comment)
It is a bit more code, but might be still necessary for a mixed case when you have other web components or even native elements that might also be misaligned.
Regards,
Peter