MediaWiki talk:Common.css

From Valve Developer Community
Revision as of 00:46, 18 June 2024 by Max34 (talk | contribs) (Fix the category block)
Jump to navigation Jump to search
Icon-message-48px.png
This is the discussion page of MediaWiki:Common.css. To add a comment, use the Edit button near the headline of the appropriate section. To create a new section, you can use the Add topic button at the top of this page.
Comments on talk pages should be signed with "~~~~", which will be converted into your signature and a timestamp.

Is there any way someone could get to work? --TheLazyPanda (talk) 01:47, 19 Jan 2010 (UTC)

or the user styles --Karl-police (talk) 19:06, 13 Oct 2023

Fix the category block

As stated on the Project:Necessary Features#Bugs_needed_to_fix, it is worth removing the height property from .catlinks block which causes the text to go out of bounds if there are more categories than can fit on one line.

As I understand it, common.css can only add new styles, so here is a simple code that should work:

Common.css (this code has property user-select:all)
  1.  
  2.  
  3.  
.catlinks { height: auto; }

This problem becomes most noticeable when the hidden categories mode is enabled.

Personally, I would like to suggest also adding the border-radius: 4px; property, but whether to add this or not is up to you. --Max34 (talk) 00:45, 18 June 2024 (PDT)