瀏覽代碼

try to fix menu

andre 11 月之前
父節點
當前提交
3809345ed8
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/layouts/default/header.tpl

+ 2 - 2
core/layouts/default/header.tpl

@@ -19,10 +19,10 @@
 							<span></span>
 						</button>
 						{if $loggedin}
-							<a class="nav-link" href="{if $loggedin}{$WEB_ROOT}/clientarea.php{else}{if $themesettings.headersetting.CustomLogoLink}{$themesettings.headersetting.CustomLogoLink}{else}{$WEB_ROOT}/{/if}{/if}"><i class="fas fa-home"></i></a>					
+							<a class="nav-link" style="max-width: fit-content;" href="{if $loggedin}{$WEB_ROOT}/clientarea.php{else}{if $themesettings.headersetting.CustomLogoLink}{$themesettings.headersetting.CustomLogoLink}{else}{$WEB_ROOT}/{/if}{/if}"><i class="fas fa-home"></i></a>					
 						{else}
 							{if $themesettings.headersetting.disablehomeicon neq "1"}
-								<a class="nav-link" href="{if $loggedin}{$WEB_ROOT}/clientarea.php{else}{if $themesettings.headersetting.CustomLogoLink}{$themesettings.headersetting.CustomLogoLink}{else}{$WEB_ROOT}/{/if}{/if}"><i class="fas fa-home"></i></a>					
+								<a class="nav-link" style="max-width: fit-content;" href="{if $loggedin}{$WEB_ROOT}/clientarea.php{else}{if $themesettings.headersetting.CustomLogoLink}{$themesettings.headersetting.CustomLogoLink}{else}{$WEB_ROOT}/{/if}{/if}"><i class="fas fa-home"></i></a>					
 							{/if}
 						{/if}
 					</div>