Content deleted Content added
Updated to match Archive-enabled version. |
Make archive layouts look okay for now. |
||
Line 108:
local monthAndYear = dateStuff.monthAndYear
local root = mw.html.create('table')
-- The next two lines help to make the table-layout-based Archive pages look good. When the
-- Archives have been converted to a grid-based layout, this logic can be removed, and the
-- corressponding CSS margin attribute can be simplified.
local temporaryMarginAdjustment = "auto !important"
if dateStuff.argsDate then temporaryMarginAdjustment = "8px 8px 0 0" end
root
:addClass('infobox')
Line 115 ⟶ 120:
float = 'initial',
['max-width'] = '350px',
margin =
['text-align'] = 'center',
['background-color'] = '#f5faff',
|