MediaWiki talk:Common.css: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Removed {{Message}} template from talk page. This action was performed by a bot)
(Fix the category block)
Line 4: Line 4:


or the user styles --Karl-police ([[User talk:Karl-police|talk]]) 19:06, 13 Oct 2023
or the user styles --Karl-police ([[User talk: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:
{{CodeBlock|src=Common.css (this code has property user-select:all)|lines=3|1=<span style="user-select:all"><nowiki>.catlinks {
height: auto;
}</nowiki></span>}}
This problem becomes most noticeable when the hidden categories mode is enabled.
Personally, I would like to suggest also adding the {{Code|select=all|border-radius: 4px;}} property, but whether to add this or not is up to you. --[[User:Max34|Max34]] ([[User talk:Max34|talk]]) 00:45, 18 June 2024 (PDT)

Revision as of 00:46, 18 June 2024

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)