Skip to content

Commit

Permalink
fix(ghost-button): icon alignment for larger sizes (carbon-design-sys…
Browse files Browse the repository at this point in the history
…tem#10708)

* fix(ghost-button): icon alignment for larger sizes

* fix(button): format

---------

Co-authored-by: Anna Wen <[email protected]>
  • Loading branch information
ariellalgilmore and annawen1 authored Jul 19, 2023
1 parent 64b9a9d commit 9153baa
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,10 @@ $css--plex: true !default;
:host(#{$prefix}-button-set[stacked]) {
@extend .#{$prefix}--btn-set--stacked;
}

//TODO: remove once we are able to upgrade @carbon/styles to include https://github.com/carbon-design-system/carbon/pull/13287
.#{$prefix}--btn--xl:not(.#{$prefix}--btn--icon-only),
.#{$prefix}--btn--2xl:not(.#{$prefix}--btn--icon-only) {
align-items: start;
padding: $button-padding-ghost;
}

0 comments on commit 9153baa

Please sign in to comment.