Jdlrobson has uploaded a new change for review.

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

Change subject: Articles should not appear stacked on iPad Air 2
......................................................................

Articles should not appear stacked on iPad Air 2

Using a vendor prefix easily remedies this problem. I've split
this out into a mixin in case we want to formalise this and later
upstream to core. Right now given the simplicity of the extension
and the simplicity of the fix I decided to not tinker with this any
further.

Bug: T144038
Change-Id: Icb6841a20a3312d8786293fc15270523939cda85
---
M resources/styles.less
1 file changed, 7 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Cards 
refs/changes/84/311484/1

diff --git a/resources/styles.less b/resources/styles.less
index 966267c..15570eb 100644
--- a/resources/styles.less
+++ b/resources/styles.less
@@ -6,8 +6,14 @@
 @cardBorder: 1px solid rgba(0,0,0,0.2);
 @borderRadius: 2px;
 
-.ext-cards-card-list {
+.display-flex() {
+       // Prefix adds support for old Safari versions (T144038)
+       display: -webkit-flex;
        display: flex;
+}
+
+.ext-cards-card-list {
+       .display-flex();
        flex-flow: row wrap;
        justify-content: flex-start;
        font-size: @baseFontSize;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icb6841a20a3312d8786293fc15270523939cda85
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cards
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to