Module:Notice: Difference between revisions
No edit summary |
remove align and update the margin to auto |
||
Line 48: | Line 48: | ||
local root = mw.html.create('div') | local root = mw.html.create('div') | ||
:addClass('notice') | :addClass('notice') | ||
:css('text-align', textAlign) | :css('text-align', textAlign) | ||
:css('border-color', p.getStyleForColor(color)) | :css('border-color', p.getStyleForColor(color)) | ||
Line 57: | Line 56: | ||
:css('display', "flex") | :css('display', "flex") | ||
:css('flex-direction', "row") | :css('flex-direction', "row") | ||
:css('margin', " | :css('margin', "auto") | ||
:css('padding', ".5em") | :css('padding', ".5em") | ||