Skip to content

Commit

Permalink
fix(Modal): add proper right padding to header (#13409)
Browse files Browse the repository at this point in the history
* fix(Modal): add proper right padding to header

* Update packages/styles/scss/components/modal/_modal.scss

Co-authored-by: Francine Lucca <40550942+francinelucca@users.noreply.github.com>

---------

Co-authored-by: Francine Lucca <40550942+francinelucca@users.noreply.github.com>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 31, 2023
1 parent 6730ffc commit de8d41b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/styles/scss/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@
.#{$prefix}--modal-header__heading {
@include type-style('heading-03');

// padding should take into account the left and right padding of modal container
padding-right: calc(20% - $spacing-09);
color: $text-primary;
}

Expand Down

0 comments on commit de8d41b

Please sign in to comment.