Module:Infobox: Difference between revisions

Plumtree (talk | contribs)
m class="infobox-table"
Plumtree (talk | contribs)
m Better CSS for mobile resolution
Line 11: Line 11:
'min-width: 15em;\n' ..
'min-width: 15em;\n' ..
'float: right;\n' ..
'float: right;\n' ..
'max-width: 100%;\n' ..
'overflow: auto;\n' ..
'">\n' ..
'">\n' ..
'{| class="infobox-table" width="100%" style="border-collapse: collapse;"\n' ..
'{| width="100%" style="border-collapse: collapse;"\n' ..
'|+ style="font-weight: bold" | '
'|+ style="font-weight: bold" | '
local has_adjacent = (prev_link and #prev_link > 0) or (next_link and #next_link > 0)
local has_adjacent = (prev_link and #prev_link > 0) or (next_link and #next_link > 0)