Skip to content

Commit

Permalink
fix(styles): fix content alignment for button containing icons (#1713)
Browse files Browse the repository at this point in the history
* fix: alignment for button where text is too small

* fix: updated screenshots
  • Loading branch information
orest-s authored Oct 10, 2024
1 parent 10ef91b commit 683a8c9
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 0 deletions.
Binary file modified e2e/screenshots/button-thin--leading-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/screenshots/button-thin--trailing-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/screenshots/copybutton-thin-.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/screenshots/dark--button-thin--leading-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/screenshots/dark--button-thin--trailing-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified e2e/screenshots/dark--copybutton-thin-.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/styles/button.css
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
grid-auto-flow: column;
align-items: center;
justify-items: center;
justify-content: center;
gap: var(--space-smallest);
}

Expand Down

0 comments on commit 683a8c9

Please sign in to comment.