ui: 修复移动端导航栏丢失的问题

This commit is contained in:
undefined committed 2021-05-27 12:47:06 +08:00
1 parent 4d3501c611
commit 6d496258a6
6 files changed
+14 -10

No files matched your search

@@ -91,7 +91,7 @@ $header-gap-mini-domain = ($header-bg-height-mini - $nav-item-height - $header-l
a, a:visited, a:hover
color: #FFF
.header--mobile__domain.is--system
.header--mobile__domain
display: block
width: $nav-logo-width // no rem
height: $nav-logo-height // no rem
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@hydrooj/ui-default",
"version": "4.10.6",
"version": "4.10.7",
"author": "undefined <i@undefined.moe>",
"license": "AGPL-3.0",
"main": "hydro.js",
+1 -1
View File
@@ -6,7 +6,7 @@
@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 1.5dppx), only screen and (min-resolution: 144dpi) {
/* {% if nav_logo_dark_2x %} */
.nav__logo, .header--mobile__domain.is--system {
.nav__logo, .header--mobile__domain {
background-image: url({{nav_logo_dark_2x}}) !important
}
/* {% endif %} */
@@ -1,12 +1,10 @@
{% if no_path_section %}
<div class="header--mobile">
<div class="row"><div class="columns clearfix">
<div class="float-left">
<a class="header--mobile__domain is--system" href="/" target="_self">&nbsp;</a>
<a class="header--mobile__domain" href="/" target="_self">&nbsp;</a>
</div>
<div class="float-right">
{% include "partials/hamburger.html" %}
</div>
</div></div>
</div>
{% endif %}