Use AdminLTE classes for logo

Use AdminLTE's 'logo-lg' and 'logo-mini' classes for the logo
instead of relying on hidden overflow
This commit is contained in:
reap3r119
2017-10-17 15:05:05 -06:00
parent f402587a9a
commit bfd8c3a958
2 changed files with 10 additions and 3 deletions

View File

@@ -47,9 +47,10 @@
<div class="wrapper">
<header class="main-header">
<a href="@context.path/" class="logo">
<img src="@helpers.assets("/common/images/gitbucket.svg")" style="width: 24px; height: 24px; display: inline;"/>
GitBucket
<span class="header-version">@gitbucket.core.GitBucketCoreModule.getVersions.last.getVersion</span>
<span class="logo-mini"><img src="@helpers.assets("/common/images/gitbucket.svg")" alt="GitBucket" /></span>
<span class="logo-lg"><img src="@helpers.assets("/common/images/gitbucket.svg")" alt="GitBucket" />
<span class="header-title strong">GitBucket</span>
<span class="header-version">@gitbucket.core.GitBucketCoreModule.getVersions.last.getVersion</span></span>
</a>
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->