jenkins-bot has submitted this change and it was merged.

Change subject: Width adjustments in entityview css
......................................................................


Width adjustments in entityview css

to avoid excessive wrapping of text in snak values

Change-Id: I58ca8b537a6cea54aa174d08f9448fb238ee9560
---
M lib/resources/jquery.wikibase/themes/default/jquery.wikibase.entityview.css
1 file changed, 7 insertions(+), 2 deletions(-)

Approvals:
  Adrian Lang: Looks good to me, approved
  Thiemo Mättig (WMDE): Looks good to me, approved
  jenkins-bot: Verified



diff --git 
a/lib/resources/jquery.wikibase/themes/default/jquery.wikibase.entityview.css 
b/lib/resources/jquery.wikibase/themes/default/jquery.wikibase.entityview.css
index 065e47a..afb412b 100644
--- 
a/lib/resources/jquery.wikibase/themes/default/jquery.wikibase.entityview.css
+++ 
b/lib/resources/jquery.wikibase/themes/default/jquery.wikibase.entityview.css
@@ -5,15 +5,20 @@
 .wikibase-entityview {
        clear: both; /* wrap around success message */
        float: left; /* float left to let widget container float right next to 
it */
-       width: 100%;
+}
+
+@media screen and ( min-width: 1570px ) {
+       .wikibase-entityview {
+               width: 100%;
+       }
 }
 
 .wikibase-entityview > * {
        float: left;
-       max-width: 65em;
 }
 
 .wikibase-entityview .wikibase-entityview-main {
        margin: 0 2em 2em 0;
+       max-width: 65em;
        width: 100%; /* required because it's a floating block element now */
 }

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I58ca8b537a6cea54aa174d08f9448fb238ee9560
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Aude <aude.w...@gmail.com>
Gerrit-Reviewer: Adrian Lang <adrian.he...@wikimedia.de>
Gerrit-Reviewer: Henning Snater <henning.sna...@wikimedia.de>
Gerrit-Reviewer: Hoo man <h...@online.de>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to