[go: nahoru, domu]

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

Dropdown menu items with icons #2242

Open
2 tasks done
julien-deramond opened this issue Sep 14, 2023 · 0 comments
Open
2 tasks done

Dropdown menu items with icons #2242

julien-deramond opened this issue Sep 14, 2023 · 0 comments

Comments

@julien-deramond
Copy link
Member

Prerequisites

Proposal

In our documentation, to display the theme selector, we had to modify slightly the rendering in #2237 to:

  • force the button's height to 40px
  • force the icon size to 20px x 20px

Here an example of the rendering:

Screenshot 2023-09-14 at 12 21 11

It might be the default rendering for icons in dropdowns in Boosted and this could be added in the DSM/UI Kits as well since this dropdown might be used in all websites with light/dark mode management.

Motivation and context

Avoid hacky modifications so that the rendering is always correct.

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

No branches or pull requests

1 participant