Ejegg has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/291149

Change subject: Fix CSS selector in Adyen iframe
......................................................................

Fix CSS selector in Adyen iframe

Well that |= thing is not as cool as I though.  It only matches
language variants (needs - directly after), not locales (with _)

This is already deployed on the Adyen side.

Bug: T135416
Change-Id: Iaeec151a554fcd9caddab4a9c3ae58e347d60376
---
M adyen_gateway/forms/css/iframe.screen.css
1 file changed, 11 insertions(+), 11 deletions(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/DonationInterface 
refs/changes/49/291149/1

diff --git a/adyen_gateway/forms/css/iframe.screen.css 
b/adyen_gateway/forms/css/iframe.screen.css
index 3126042..4e98de9 100644
--- a/adyen_gateway/forms/css/iframe.screen.css
+++ b/adyen_gateway/forms/css/iframe.screen.css
@@ -12,24 +12,24 @@
        font-family: 'PT Sans',Helvetica,Arial,sans-serif;
 }
 
-html[data-shopperlocale|="he"] *, html[data-shopperlocale|="ar"] *,
-html[data-shopperlocale|="fa"] *, html[data-shopperlocale|="ur"] * {
+html[data-shopperlocale^="he"] *, html[data-shopperlocale^="ar"] *,
+html[data-shopperlocale^="fa"] *, html[data-shopperlocale^="ur"] * {
        direction: rtl;
        text-align: right;
 }
 
-html[data-shopperlocale|="he"] .fieldDiv,
-html[data-shopperlocale|="ar"] .fieldDiv,
-html[data-shopperlocale|="fa"] .fieldDiv,
-html[data-shopperlocale|="ur"] .fieldDiv {
+html[data-shopperlocale^="he"] .fieldDiv,
+html[data-shopperlocale^="ar"] .fieldDiv,
+html[data-shopperlocale^="fa"] .fieldDiv,
+html[data-shopperlocale^="ur"] .fieldDiv {
        padding-right: 0;
        padding-left: 20px;
 }
 
-html[data-shopperlocale|="he"] .paySubmit,
-html[data-shopperlocale|="ar"] .paySubmit,
-html[data-shopperlocale|="fa"] .paySubmit,
-html[data-shopperlocale|="ur"] .paySubmit {
+html[data-shopperlocale^="he"] .paySubmit,
+html[data-shopperlocale^="ar"] .paySubmit,
+html[data-shopperlocale^="fa"] .paySubmit,
+html[data-shopperlocale^="ur"] .paySubmit {
        float:right !important;
 }
 
@@ -45,7 +45,7 @@
 }
 
 /* We hide the cardholder name for all but Hebrew speakers */
-html[data-shopperlocale|="he"] #card\.cardNumberTr + tr {
+html[data-shopperlocale^="he"] #card\.cardNumberTr + tr {
        display: table-row;
 }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/291149
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaeec151a554fcd9caddab4a9c3ae58e347d60376
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/DonationInterface
Gerrit-Branch: master
Gerrit-Owner: Ejegg <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to