MediaWiki talk:Common.css: Difference between revisions

Jump to navigation Jump to search
Line 13: Line 13:


: Tested this by injecting the CSS on the browser and it seems to work only when the browser tab is not maximized. I'm investigating the possibility of making the subsections collapsible without needing server-side changes. MediaWiki documentation has a browser-side code snippet for this but it only works with the old MonoBook skin (we use Vector skin here). - [[User:mbc07|mbc07]] ([[User talk:mbc07|talk]]) 01:11, 1 February 2022 (CET)
: Tested this by injecting the CSS on the browser and it seems to work only when the browser tab is not maximized. I'm investigating the possibility of making the subsections collapsible without needing server-side changes. MediaWiki documentation has a browser-side code snippet for this but it only works with the old MonoBook skin (we use Vector skin here). - [[User:mbc07|mbc07]] ([[User talk:mbc07|talk]]) 01:11, 1 February 2022 (CET)
:: I found a small snippet of CSS and JS that seems to do the trick, but it's quite hacky and creates an ugly "see more/less" link, unaligned from the list. I'll try to clean it up later and replace the link with an icon, if I manage get something acceptable I'll post here - [[User:mbc07|mbc07]] ([[User talk:mbc07|talk]]) 02:25, 1 February 2022 (CET)

Navigation menu