r113293 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r113292‎ | r113293 | r113294 >
Date:20:56, 7 March 2012
Author:jdlrobson
Status:ok
Tags:
Comment:
force maximum width on images
Modified paths:
  • /trunk/extensions/MobileFrontend/stylesheets/beta_common.css (modified) (history)
  • /trunk/extensions/MobileFrontend/stylesheets/common.css (modified) (history)

Diff [purge]

Index: trunk/extensions/MobileFrontend/stylesheets/common.css
@@ -528,6 +528,10 @@
529529 margin: 5px auto;
530530 }
531531
 532+.thumb img {
 533+ max-width: 100% !important;
 534+}
 535+
532536 .thumb .thumbcaption {
533537 width: 100%;
534538 margin: 5px 10px 0;
Index: trunk/extensions/MobileFrontend/stylesheets/beta_common.css
@@ -237,7 +237,6 @@
238238
239239 table {
240240 border-spacing: 0 !important;
241 - max-width: 100%;
242241 border-collapse: collapse !important;
243242 border: 1px solid #cccccc;
244243 padding: 3px;
@@ -522,6 +521,10 @@
523522 margin: 5px auto;
524523 }
525524
 525+.thumb img {
 526+ max-width: 100% !important;
 527+}
 528+
526529 .thumb .thumbcaption {
527530 width: 100%;
528531 margin: 5px 10px 0;

Follow-up revisions

RevisionCommit summaryAuthorDate
r113294also override width with auto...jdlrobson21:00, 7 March 2012

Status & tagging log