Skip to content

Commit 0e3b017

Browse files
authored
Merge pull request #417 from alma/feature/ecom-3340-woocommerce-css-issue-alma-payment-plans-buttonbackground
fix: remove overwrite widget css from our module
2 parents aea3024 + cdf82a2 commit 0e3b017

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ on:
55
branches:
66
- main
77
- develop
8+
- feature/6.0
89
pull_request:
910
branches:
1011
- main
1112
- develop
13+
- feature/6.0
1214
workflow_dispatch: ~
1315

1416
jobs:
@@ -20,7 +22,7 @@ jobs:
2022
with:
2123
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
2224
- name: SonarQube Cloud Scan
23-
uses: SonarSource/sonarqube-scan-action@master
25+
uses: SonarSource/sonarqube-scan-action@1a6d90ebcb0e6a6b1d87e37ba693fe453195ae25 # v5.3.1
2426
env:
2527
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2628
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
@@ -92,5 +94,4 @@ jobs:
9294
test.cache-to=type=gha
9395
9496
- name: Run tests
95-
run: docker compose run test
96-
97+
run: docker compose run test

includes/Handlers/GenericHandler.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,7 @@ protected function inject_payment_plan_widget(
162162
wp_enqueue_script( 'alma-widgets-injection', $alma_widgets_injection_url, array(), ALMA_VERSION, true );
163163

164164
?>
165-
<style>#alma-payment-plans button {
166-
background-color: white;
167-
}</style>
165+
168166
<div style="margin: 15px 0; max-width: 350px">
169167
<div id="alma-payment-plans" data-settings="<?php echo esc_attr( wp_json_encode( $widget_settings ) ); ?>">
170168
</div>

0 commit comments

Comments
 (0)