Skip to content

Icons look misaligned for a simple upload status row #8768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Legioth opened this issue Mar 5, 2025 · 0 comments · May be fixed by #8931
Open

Icons look misaligned for a simple upload status row #8768

Legioth opened this issue Mar 5, 2025 · 0 comments · May be fixed by #8931

Comments

@Legioth
Copy link
Member

Legioth commented Mar 5, 2025

Description

A file row in <vaadin-upload> without any extra info seems to have inappropriate alignment for both the status icon and the remove icon. The status is slightly below the text baseline whereas the remove icon is significantly above. This looks slightly better when there's more content in the row but is disturbing for the simple case with only a file name.

This is what it looks like with Chrome's layout overlay active as a visual ruler.
Image

Expected outcome

Expected that the icons are aligned with the text. Or with themselves. Or with anything.

Minimal reproducible example

This is clearly visible in the first example on https://vaadin.com/docs/latest/components/upload

Steps to reproduce

  1. Open https://vaadin.com/docs/latest/components/upload
  2. 👁
  3. 😢

Environment

Vaadin version(s): 24.7.0.beta1

Browsers

Chrome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants