Merge "Revert "Thumbnails: allow overflow inside thumbnails""
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 26 May 2016 18:05:16 +0000 (18:05 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 26 May 2016 18:05:16 +0000 (18:05 +0000)
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;
 }