mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 13:44:42 +08:00
Fix apm button styling
This commit is contained in:
parent
45516d0075
commit
46c575a401
16 changed files with 163 additions and 32 deletions
|
@ -1,3 +1,4 @@
|
|||
@use "../../../ppcp-button/resources/css/mixins/apm-button" as apm-button;
|
||||
|
||||
.ppcp-field-hidden {
|
||||
display: none !important;
|
||||
|
@ -15,3 +16,12 @@
|
|||
padding-left: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
// Prevents spacing after button group.
|
||||
.ppcp-button-preview-inner {
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
.ppcp-button-apm {
|
||||
@include apm-button.button;
|
||||
}
|
||||
|
|
|
@ -15,9 +15,6 @@ document.addEventListener(
|
|||
|
||||
jQuery( '*[data-ppcp-display]' ).each( (index, el) => {
|
||||
const rules = jQuery(el).data('ppcpDisplay');
|
||||
|
||||
// console.log('rules', rules);
|
||||
|
||||
for (const rule of rules) {
|
||||
displayManager.addRule(rule);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue