MediaWiki:Common.css: Difference between revisions
Document OCR review UI and docs |
Constrain contribute box width; consistent Gallery placement |
||
| Line 526: | Line 526: | ||
background: #f8f9fa; | background: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
/* Stay in the text column — do not span full article width under the float */ | |||
width: | width: auto; | ||
max-width: 36em; | |||
box-sizing: border-box; | box-sizing: border-box; | ||
clear: both; | clear: both; | ||
} | } | ||
| Line 593: | Line 593: | ||
} | } | ||
/* Site-wide OCR inbox (Contribute documents) | /* Site-wide OCR inbox (Contribute documents) */ | ||
.ocr-review-box { | .ocr-review-box { | ||
margin: 0.75em 0 1em; | margin: 0.75em 0 1em; | ||
| Line 599: | Line 599: | ||
background: #f8f9fa; | background: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
width: | width: auto; | ||
max-width: | max-width: 48em; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
clear: both; | clear: both; | ||
} | } | ||
.ocr-review-box h3 { | .ocr-review-box h3 { | ||
| Line 626: | Line 625: | ||
.ocr-review-preview { | .ocr-review-preview { | ||
flex: 1 1 180px; | flex: 1 1 180px; | ||
max-width: min( | max-width: min(280px, 100%); | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||