Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix payment method icon size #191

Merged
merged 3 commits into from
Oct 8, 2024
Merged

fix payment method icon size #191

merged 3 commits into from
Oct 8, 2024

Conversation

marlom-rvvup
Copy link
Collaborator

No description provided.

@@ -67,17 +67,17 @@
margin-left: 5px;
}

.rvvup-pay-by-bank-img,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like we had this wrong in the first place (should be pay_by_bank,)

Also looks PHP cs doesn't like _ in class names 😂

Copy link
Collaborator

@aashwin-rvvup aashwin-rvvup Oct 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we have .rvvup-payment-logo on all our logos, but it was getting overridden by the data-bind so was being removed. if we add it in the data bind along with our rvvup-*-img then we can remove these individual ones and just have a style for rvvup-payment-logo.

Code in reference:

<img class="rvvup-payment-logo" data-bind="attr: {'src': getLogoUrl(),'class': getCode().replace('_','-').toLowerCase() + '-img'}" />

@marlom-rvvup marlom-rvvup merged commit c8fc1d0 into main Oct 8, 2024
7 checks passed
@marlom-rvvup marlom-rvvup deleted the fix-payment-method-icons branch October 8, 2024 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants