No edit summary |
No edit summary Tag: 2017 source edit |
||
Line 11: | Line 11: | ||
File:mainnav-custom.png|alt=adjusted navigation layout|adjusted layout | File:mainnav-custom.png|alt=adjusted navigation layout|adjusted layout | ||
</gallery> | </gallery> | ||
[[en:{{FULLPAGENAME}}]] | |||
[[de:Handbuch:Erweiterung/BlueSpiceDiscovery/Hauptnavigation_anpassen/Lange_Bezeichnungen]] |
Revision as of 15:23, 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 causes 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;}