The `.userMenuItemSingleLine` class is shared with other elements that are not as tall as the user header.
The `min-height: 0` will cause the user header to collapse too much when the user rank module is disabled.
See https://www.woltlab.com/community/thread/296134-darstellungsfehler-im-kontrollzentrum-ohne-rangmodul/
<div class="userMenuTitle">{lang}wcf.user.controlPanel{/lang}</div>
</div>
<div class="userMenuContent">
- <div class="userMenuItem{if !MODULE_USER_RANK} userMenuItemSingleLine{/if}">
+ <div class="userMenuItem{if !MODULE_USER_RANK} userMenuItemSingleLine userMenuItemUserHeader{/if}">
<div class="userMenuItemImage">
{@$__wcf->getUserProfileHandler()->getUserProfile()->getAvatar()->getImageTag(48)}
</div>
&.userMenuItemSingleLine {
grid-template-areas: "image content";
grid-template-rows: auto;
- min-height: 0;
+
+ &:not(.userMenuItemUserHeader) {
+ min-height: 0;
+ }
.userMenuItemContent {
align-self: center;