Phuedx has uploaded a new change for review.

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

Change subject: Change image centering
......................................................................

Change image centering

From T144594:

> [The] chances of focal point being in top half in portrait images are
> much higher.

Change the position of all thumbnails to "top center".

Note well that, while this applies to all thumbnails, it doesn't affect
landscape thumbnails since their height is 100% of the container.

Bug: T145507
Change-Id: I22803fd9d948a2e60adb3ee77b5bd4072a23dcd7
---
M resources/styles.less
1 file changed, 1 insertion(+), 1 deletion(-)


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

diff --git a/resources/styles.less b/resources/styles.less
index f55b4fa..966267c 100644
--- a/resources/styles.less
+++ b/resources/styles.less
@@ -115,7 +115,7 @@
                background-color: @colorGray14;
                .background-image-svg( 'noimage.svg', 'noimage.png' );
                background-repeat: no-repeat;
-               background-position: center center;
+               background-position: top center;
                .background-size( 100%, 100% );
                background-size: cover;
                float: left;

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I22803fd9d948a2e60adb3ee77b5bd4072a23dcd7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Cards
Gerrit-Branch: master
Gerrit-Owner: Phuedx <g...@samsmith.io>

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

Reply via email to