Module talk:Userbox

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

Edit request[edit]


Add these lines of css to tableroot to deal with extra margins found on mobile devices.

:css('margin-bottom', '0')
:css('margin-top', '0')

--Artoria2e5 (talk) 05:56, 13 March 2017 (UTC) Artoria2e5 (talk) 05:56, 13 March 2017 (UTC)[]

Ah, just the top one. The bottom one is already there. Artoria2e5 (talk) 06:01, 13 March 2017 (UTC)[]

Done. --Steinsplitter (talk) 18:26, 15 March 2017 (UTC)[]

Use TemplateStyles[edit]

Please apply Special:Diff/21748350/21765441 in order to use TemplateStyles (Module:Userbox/styles.css).

I have already confirmed that this works in {{Userbox/sandbox}}, {{Userbox-r}}, {{Userbox-level}}, {{Userbox sister project}}, and {{User tech ambassador}}; the last three of which use additional TemplateStyles stylesheets (Template:Userbox-level/styles.css, Template:Userbox sister project/styles.css, and Template:User tech ambassador/styles.css respectively). — ExE Boss (talk) 07:20, 22 July 2021 (UTC)[]

@ExE Boss: looks like this has been open a long time - I'm missing why this is a good idea though - can you expand? Normally very in support of moving styling from pages like common.css to template styles - but this doesn't seem to be doing that, just adding more abstraction complexity? — xaosflux Talk 12:58, 26 October 2021 (UTC)[]