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

Fix skinny buttons #336

Merged
merged 5 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Fixed
- Make sure button text is always centered (#328)
- Touch area of icon-only buttons (#330, #336)
- Delete project action on project index page (#330)
- Refactored project list loading to allow loading states to be shown (#330)
- Touch area of icon-only buttons (#330)
- Removed unneeded scrollbars on the editor and output panels (#331)
- Make Your projects page background extend below the fold (#334)

Expand Down
5 changes: 5 additions & 0 deletions src/components/Button/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@
}
}

&--small {
min-height: unset;
min-width: unset;
}

&--svg-only {
svg {
margin: 0;
Expand Down
1 change: 1 addition & 0 deletions src/tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $spacing-four: calc($spacing-eight / 2);

&__tab-inner {
@extend .btn;
@extend .btn--small;
@extend .btn--secondary;

border: 3px solid transparent;
Expand Down