Skip to content
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

Incosistent icon width for SelectItems #280

Open
slvrtrn opened this issue Dec 27, 2023 · 0 comments
Open

Incosistent icon width for SelectItems #280

slvrtrn opened this issue Dec 27, 2023 · 0 comments

Comments

@slvrtrn
Copy link

slvrtrn commented Dec 27, 2023

Logos (for example, mysql) and Glyphs (for example, http) have different widths and are not centered when used as SelectItem icons, which moves the text to the right:

image

<Select
  <Select.Item value="http" key="http" icon="http">
    HTTP
  </Select.Item>
  <Select.Item value="clickhouse" key="clickhouse" icon="clickhouse">
    ClickHouse
  </Select.Item>
  <Select.Item value="mysql" key="mysql" icon="mysql">
    MySQL
  </Select.Item>
  <Select.Item value="jdbc" key="jdbc" icon="jdbc">
    JDBC
  </Select.Item>
</Select>

Browser: FF latest.

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

No branches or pull requests

1 participant