From 5abad50c4ddb453f1134357e2aec51dbff7957e1 Mon Sep 17 00:00:00 2001
From: Ravinder Kumar
Date: Fri, 4 Aug 2023 11:18:08 +0530
Subject: [PATCH] feat: improve list styling
---
assets/src/css/admin/paypal-commerce.scss | 17 +++++++++------
assets/src/js/admin/paypal-commerce/index.js | 22 ++++++++++----------
2 files changed, 22 insertions(+), 17 deletions(-)
diff --git a/assets/src/css/admin/paypal-commerce.scss b/assets/src/css/admin/paypal-commerce.scss
index b7cc1b43b2..4d1e14126c 100644
--- a/assets/src/css/admin/paypal-commerce.scss
+++ b/assets/src/css/admin/paypal-commerce.scss
@@ -50,14 +50,15 @@
.paypal-commerce-connection-account-type-selection-modal{
color: #0E0E0E;
- p.welcome-text{
- color: #404040;
- }
+ ul{
+ margin-left: 22px;
- li{
- font-size: 0.8em;
- color: #666;
+ li{
+ font-size: 0.8em;
+ color: #666;
+ }
}
+
ul.flex2x2 {
display: flex;
flex-wrap: wrap;
@@ -75,6 +76,10 @@
p{
font-size: 16px;
+
+ &.welcome-text{
+ color: #404040;
+ }
}
span{
diff --git a/assets/src/js/admin/paypal-commerce/index.js b/assets/src/js/admin/paypal-commerce/index.js
index 0eead55495..1bb570e90d 100644
--- a/assets/src/js/admin/paypal-commerce/index.js
+++ b/assets/src/js/admin/paypal-commerce/index.js
@@ -130,26 +130,26 @@ window.addEventListener( 'DOMContentLoaded', function() {
id="paypal_donations_connection_account_type_ppcp"
value="PPCP"> ${ __( 'Advancded Card Processing', 'givewp') }
-
- - ${__( 'Accept Credit & Debit Cards', 'givewp')}
- - ${__( 'Seller Protection', 'givewp')}
-
+
+ - ${__( 'Accept Credit & Debit Cards', 'givewp')}
+ - ${__( 'Seller Protection', 'givewp')}
+
-
- - ${__( 'Accept Credit & Debit Cards', 'give')}
- - ${__( 'Seller Protection', 'give')}
- - ${__( 'Fraud Protection', 'give')}
- - ${__( 'Chargeback Protection', 'give')}
-
+ ${__( 'Requires Application Approval', 'give')}
+
+ - ${__( 'Accept Credit & Debit Cards', 'give')}
+ - ${__( 'Seller Protection', 'give')}
+ - ${__( 'Fraud Protection', 'give')}
+ - ${__( 'Chargeback Protection', 'give')}
+