overflow:hidden on the thumbnail has been in place like this for a
long time. One of the primary reasons was for long sentences in the
thumbcaption. For that, modern browsers now support word-wrap.
I know of no good reasons why overflow would have to apply to the
rest of the frame. Therfor moved to thumbcaption only, and added
word-wrap.
Bug: T132306
Change-Id: I1953683fa2a6d22ed82bac1acd37e5cb12636381
background-color: White;
font-size: 94%;
text-align: center;
- overflow: hidden;
}
html .thumbimage {
line-height: 1.4em;
padding: 3px !important;
font-size: 94%;
+ overflow: hidden;
+ word-wrap: break-word;
}
div.magnify {
background-color: #f9f9f9;
font-size: 94%;
text-align: center;
- overflow: hidden;
}
html .thumbimage {
padding: 3px;
font-size: 94%;
text-align: left;
+ overflow: hidden;
+ word-wrap: break-word;
}
div.magnify {
background-color: #f9f9f9;
font-size: 94%;
text-align: center;
- overflow: hidden;
}
html .thumbimage {
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;
}