web-components
web-components copied to clipboard
fix: align icons and buttons in upload file row
Description
Currently all flex containers in upload file row use align-items: baseline, which makes it hard to align icons and buttons with the first text line. Changed icons and the commands container that contains buttons to use flex-start instead. Then applied the same solution we use for aligning icons and buttons with the first line of text in text area.
This is potentially a breaking change as it changes default styles, appearance, as well as the default height of the component (it gets a bit smaller).
Fixes https://github.com/vaadin/web-components/issues/8768
Type of change
- Bugfix