Skip to content

Button alignment outside of flex containers #195

@Deufel

Description

@Deufel

I noticed that if buttons have an SVG as its first element and its parent element is not a flex container then they will be slightly above a text first or text only button. Must be something to do with inline flex calculating the baseline (right?) I could not pinpoint the root cause.

Image

the simplest way to replicate is to modify the button page to see the effect.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions