Revert "Thumbnails: allow overflow inside thumbnails"
authorDerk-Jan Hartman <hartman.wiki@gmail.com>
Wed, 25 May 2016 21:23:48 +0000 (23:23 +0200)
committerDerk-Jan Hartman <hartman.wiki@gmail.com>
Wed, 25 May 2016 21:34:17 +0000 (23:34 +0200)
This reverts commit 2964c2799f0c19ac4c765f025a2998a0f3baeff0.

Bug: T133439
Change-Id: Id16420e8f5fd73e31cba2d5415ae9c1730a5a32c

resources/src/mediawiki.legacy/commonPrint.css
resources/src/mediawiki.legacy/oldshared.css
resources/src/mediawiki.skinning/content.css

index d04e3a6..c6ccb43 100644 (file)
@@ -249,6 +249,7 @@ div.thumbinner {
        padding: 3px !important;
        font-size: 94%;
        text-align: center;
+       overflow: hidden;
 }
 
 html .thumbimage {
@@ -261,8 +262,6 @@ html .thumbcaption {
        line-height: 1.4em;
        padding: 3px !important;
        font-size: 94%;
-       overflow: hidden;
-       word-wrap: break-word;
 }
 
 /* @noflip */
index c1b671b..075fe86 100644 (file)
@@ -90,6 +90,7 @@ div.thumbinner {
        background-color: #f9f9f9;
        font-size: 94%;
        text-align: center;
+       overflow: hidden;
 }
 
 html .thumbimage {
@@ -102,8 +103,6 @@ html .thumbcaption {
        padding: 3px;
        font-size: 94%;
        text-align: left;
-       overflow: hidden;
-       word-wrap: break-word;
 }
 
 div.magnify {
index 3dacf64..a20dd86 100644 (file)
@@ -152,6 +152,7 @@ div.thumbinner {
        background-color: #f9f9f9;
        font-size: 94%;
        text-align: center;
+       overflow: hidden;
 }
 
 html .thumbimage {
@@ -163,8 +164,6 @@ html .thumbcaption {
        line-height: 1.4em;
        padding: 3px;
        font-size: 94%;
-       overflow: hidden;
-       word-wrap: break-word;
        /* Default styles when there's no .mw-content-ltr or .mw-content-rtl, overridden below */
        text-align: left;
 }