Module:AVDevice: Difference between revisions
Connectivity labels: use infobox-label-top class for non-stretching labels, remove inline align-self (via update-page on MediaWiki MCP Server) |
Remove infobox-label-top from connectivity labels - let gray bg stretch full row height naturally (via update-page on MediaWiki MCP Server) |
||
| Line 329: | Line 329: | ||
addSectionRow(container, 'Connectivity') | addSectionRow(container, 'Connectivity') | ||
-- | -- Connectivity rows: label stretches full height (default grid behavior), | ||
-- value has no padding so location | -- value has no padding so location groups sit flush | ||
if inputsHtml then | if inputsHtml then | ||
local labelDiv = container:tag('div') | local labelDiv = container:tag('div') | ||
labelDiv:addClass('infobox-label') | labelDiv:addClass('infobox-label') | ||
css(labelDiv, 'padding:0.2em 0.4em; font-weight:bold; text-align:left;') | css(labelDiv, 'padding:0.2em 0.4em; font-weight:bold; text-align:left;') | ||
labelDiv:wikitext('Inputs') | labelDiv:wikitext('Inputs') | ||
| Line 347: | Line 346: | ||
local labelDiv = container:tag('div') | local labelDiv = container:tag('div') | ||
labelDiv:addClass('infobox-label') | labelDiv:addClass('infobox-label') | ||
css(labelDiv, 'padding:0.2em 0.4em; font-weight:bold; text-align:left;') | css(labelDiv, 'padding:0.2em 0.4em; font-weight:bold; text-align:left;') | ||
labelDiv:wikitext('Outputs') | labelDiv:wikitext('Outputs') | ||