Skip to content

Commit

Permalink
fix: fixed the ui disparity for more payment methods text and use sav…
Browse files Browse the repository at this point in the history
…ed payment methods (#466)
  • Loading branch information
ArushKapoorJuspay authored Jul 2, 2024
1 parent aa7f73a commit c7ca45c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Components/SavedMethods.res
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,10 @@ let make = (
</RenderIf>
<RenderIf condition={!showFields}>
<div
className="Label flex flex-row gap-3 items-end cursor-pointer"
className="Label flex flex-row gap-3 items-end cursor-pointer mt-4"
style={
fontSize: "14px",
float: "left",
marginTop: "14px",
fontWeight: "500",
width: "fit-content",
color: themeObj.colorPrimary,
Expand Down
2 changes: 1 addition & 1 deletion src/PaymentElement.res
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ let make = (~cardProps, ~expiryProps, ~cvcProps, ~paymentType: CardThemeType.mod
<RenderIf
condition={displaySavedPaymentMethods && savedMethods->Array.length > 0 && showFields}>
<div
className="Label flex flex-row gap-3 items-end cursor-pointer my-4"
className="Label flex flex-row gap-3 items-end cursor-pointer mt-4"
style={
fontSize: "14px",
float: "left",
Expand Down

0 comments on commit c7ca45c

Please sign in to comment.