Move the Vikunja logo to the hamburger menu on mobile
continuous-integration/drone/push Build is passing Details

This commit is contained in:
kolaente 2020-02-09 15:29:55 +01:00
parent 2f2ddb4603
commit 6324fc384b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 14 additions and 1 deletions

View File

@ -49,6 +49,9 @@
<div class="app-container">
<div class="namespace-container" :class="{'is-active': mobileMenuActive}">
<div class="menu top-menu">
<router-link :to="{name: 'home'}" class="logo">
<img src="/images/logo-full.svg" alt="Vikunja"/>
</router-link>
<ul class="menu-list">
<li>
<router-link :to="{ name: 'home'}">

View File

@ -25,7 +25,9 @@
@media screen and (max-width: $tablet) {
.navbar-brand {
margin-left: 3em;
// This prevents the user icon from snapping to the left into the menu button
width: 0;
overflow: hidden;
}
}
@ -197,6 +199,14 @@
}
}
}
.logo {
display: none;
@media screen and (max-width: $tablet) {
display: block;
}
}
}
.top-menu {