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

Alignment issue with OakButton as anchor element #211

Open
remy opened this issue Jun 25, 2024 · 0 comments
Open

Alignment issue with OakButton as anchor element #211

remy opened this issue Jun 25, 2024 · 0 comments

Comments

@remy
Copy link

remy commented Jun 25, 2024

Demonstrating through screenshot.

SCR-20240625-kymd

Adding the following CSS to the element (both when an a and button) looks to work, but I've not checked heavily (thus no PR as yet):

display: inline-flex;
align-items: center;

I applied this (in the devtools console) to the .internal-button class to preview if it was fixing the issue (without causing other breakages) and it seemed to (in particular paying attention to vertical alignment when an icon is included).

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