Skip to content

Commit

Permalink
fix: Payment Methods sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
renatamottam committed Dec 19, 2023
1 parent 412a8a9 commit 7a9504d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const PaymentMethods = forwardRef<HTMLDivElement, PaymentMethodsProps>(
data-fs-payment-methods-flag
key={`fs-payment-method-${index}-${text}`}
>
<Icon width={32} height={22.5} name={icon} />
<Icon width={28} height={18} name={icon} />
{text && <SROnly text={text} />}
</li>
))}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,15 @@
justify-content: space-between;
margin-top: var(--fs-payment-methods-flags-margin-top);

li {
display: flex;
place-content: center;
}

@include media("<notebook") {
column-gap: var(--fs-grid-gap-2);
}
}

[data-fs-payment-methods-flag] {
display: flex;
align-items: center;
justify-content: center;
width: var(--fs-payment-methods-flag-width);
height: var(--fs-payment-methods-flag-height);
overflow: hidden;
Expand Down

0 comments on commit 7a9504d

Please sign in to comment.