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

Flux:buttons are at different vertical offsets and sizes, depending on content #728

Open
rikh42 opened this issue Nov 23, 2024 · 1 comment

Comments

@rikh42
Copy link

rikh42 commented Nov 23, 2024

This means that they appear out of line, with some higher up than other.

For example, with the following markup...

<div class="my-12">
    <flux:button icon-trailing="chevron-down">Layout</flux:button>
    <flux:button icon-trailing="chevron-down"></flux:button>
    <flux:button><flux:icon.chevron-down /></flux:button>
    <flux:button square><flux:icon.chevron-down /></flux:button>
</div>

Results in the following buttons that are all over the place...

Image

I have tried this in Chrome and Firefox, with the same result.

I would expect all the buttons to have the same vertical height and same baseline

Thank you!

@jeffchown
Copy link

@rikh42 See @calebporzio 's response (underneath my comment) here #499 (comment)

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

2 participants