mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-18 07:23:09 +00:00
Fix alignment of navbar logo on smaller screens
This commit is contained in:
@@ -89,8 +89,4 @@
|
||||
}
|
||||
}
|
||||
|
||||
.nav-spacing {
|
||||
width: 26px;
|
||||
}
|
||||
|
||||
// stylelint-enable annotation-no-unknown
|
||||
|
@@ -87,8 +87,10 @@
|
||||
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis") -}}
|
||||
</button>
|
||||
{{- else -}}
|
||||
<!-- Insert spacing to center logo correctly on smaller screens -->
|
||||
<div class="nav-spacing d-{{ $size }}-none"></div>
|
||||
<!-- Insert invisible sidebar toggler to center logo correctly on smaller screens -->
|
||||
<button class="navbar-toggler collapsed ms-n3 invisible" type="button">
|
||||
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis") -}}
|
||||
</button>
|
||||
{{- end -}}
|
||||
|
||||
<!-- Insert the brand logo or name -->
|
||||
|
Reference in New Issue
Block a user