Skip to content

Commit

Permalink
fix(Modal): align button text to baseline (#13320)
Browse files Browse the repository at this point in the history
* fix(Modal): align button text to baseline

* fix(Modal): adjust padding to account for positioning off baseline

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
tw15egan and kodiakhq[bot] authored Mar 21, 2023
1 parent 2be4009 commit 173cc71
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/styles/scss/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,8 @@
max-width: none;
height: rem(64px);
flex: 0 1 50%;
padding-top: $spacing-05;
align-items: baseline;
padding-top: calc($spacing-05 - rem(2px));
padding-bottom: $spacing-07;
margin: 0;
}
Expand Down

0 comments on commit 173cc71

Please sign in to comment.