Nikerabbit has uploaded a new change for review.

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

Change subject: Fix garbled display of page mode on Special:Translate when 
zooming
......................................................................

Fix garbled display of page mode on Special:Translate when zooming

On some zoom levels, the placeholder for "translated" elements, which
is empty, was less than 1px tall due to rounding errors and thus not
occupying the space it should. Fixed by having all status placeholders
have height of 40px.

Bug: T112877
Change-Id: I453e8b1c03876ca8f33fd7b3a8b1780382d3d507
---
M resources/css/ext.translate.pagemode.css
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Translate 
refs/changes/43/240343/1

diff --git a/resources/css/ext.translate.pagemode.css 
b/resources/css/ext.translate.pagemode.css
index b249d9d..3a272d2 100644
--- a/resources/css/ext.translate.pagemode.css
+++ b/resources/css/ext.translate.pagemode.css
@@ -69,6 +69,7 @@
 
 .tux-pagemode-status {
        top: -10px;
+       height: 40px;
 }
 
 .tux-pagemode-status.fuzzy {
@@ -76,7 +77,6 @@
        background-image: -webkit-linear-gradient(transparent, transparent), 
url(../images/outdated-ltr.svg);
        /* @embed */
        background-image: linear-gradient(transparent, transparent), 
url(../images/outdated-ltr.svg);
-       height: 40px;
 }
 
 .tux-pagemode-status.untranslated {
@@ -84,7 +84,6 @@
        background-image: -webkit-linear-gradient(transparent, transparent), 
url(../images/translate-ltr.svg);
        /* @embed */
        background-image: linear-gradient(transparent, transparent), 
url(../images/translate-ltr.svg);
-       height: 40px;
 }
 
 .tux-pagemode-action {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I453e8b1c03876ca8f33fd7b3a8b1780382d3d507
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Translate
Gerrit-Branch: master
Gerrit-Owner: Nikerabbit <niklas.laxst...@gmail.com>

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

Reply via email to