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

Fixes icon-only button extra padding #61

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

AyIong
Copy link
Contributor

@AyIong AyIong commented Jan 8, 2025

About the PR

Button styles have negative indentation at the icons, which is overwritten by 0 when checking if there is content, because of which the “extra” indentation appears

Why's this needed?

Extra padding look's really weird
Fixes #49

Demo

image

@tgstation-ci
Copy link

tgstation-ci bot commented Jan 8, 2025

Thank you for contributing to tgui-core! The workflow 'Chromatic Security' requires repository secrets and will not run without approval. Maintainers can add the CI Cleared label to allow it to run. Note that any changes to chromaitc-security.yml and chromatic.yml will not be reflected.

@jlsnow301 jlsnow301 merged commit 9db4532 into tgstation:main Jan 8, 2025
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Icon-only buttons have extra padding
2 participants