Content deleted Content added
let's try this |
duplicated in css proper for only affected *box; add some styles for others |
||
Line 325:
self.imageCellDiv = not self.isSmall and cfg.imageCellDiv
self.imageEmptyCell = cfg.imageEmptyCell
-- Left image settings.
Line 526 ⟶ 523:
-- image width to 52px. If any images in a div are wider than that,
-- they may overlap with the text or cause other display problems.
imageLeftCell = imageLeftCell:tag('div'):
end
imageLeftCell:wikitext(self.imageLeft or nil)
Line 536 ⟶ 533:
row:tag('td')
:addClass('mbox-empty-cell')
end
Line 581 ⟶ 577:
-- If we are using a div, redefine imageRightCell so that the image
-- is inside it.
imageRightCell = imageRightCell:tag('div'):
end
imageRightCell
Line 600 ⟶ 596:
if self.invalidTypeError then
root:tag('div')
:
:wikitext(string.format(
'This message box is using an invalid "type=%s" parameter and needs fixing.',
|