Manual:Extension/BlueSpiceDiscovery/Main navigation/Long link labels: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
 
Line 1: Line 1:
{{DISPLAYTITLE:Long link labels in the main navigation}}
{{DISPLAYTITLE:Long link labels in the main navigation}}


You can add the following CSS declarations to the page ''MediaWiki:Common.css'' to gain more space and adjust the alignment when navigation items causes line wraps.<syntaxhighlight lang="css">
You can add the following CSS declarations to the page ''MediaWiki:Common.css'' to gain more space and adjust the alignment when navigation items cause line wraps.<syntaxhighlight lang="css">
/*Override line height for individual nav items in main navigation*/
/*Override line height for individual nav items in main navigation*/



Latest revision as of 15:31, 1 February 2023


You can add the following CSS declarations to the page MediaWiki:Common.css to gain more space and adjust the alignment when navigation items cause line wraps.

/*Override line height for individual nav items in main navigation*/

#sb-pri .list-group .list-group-item {padding:1px 0}
#sb-pri .list-group .list-group-item > a {line-height:1.4em; margin-bottom: 0.1em;padding: 5px 18px}
#sb-pri-cnt .card-header.menu-title {margin-bottom: 0.8rem;}




To submit feedback about this documentation, visit our community forum.