Fixed: in production (with Android phone) -> click on menu doesn't work well

This commit is contained in:
Paolo Arena
2018-12-25 19:44:39 +01:00
parent 6edb4c4f28
commit 6e023753dc
4 changed files with 7 additions and 6 deletions

View File

@@ -1,12 +1,13 @@
<template>
<div>
<q-layout-header>
<q-layout-header v-model="header" :reveal="headerReveal">
<q-toolbar
color="primary"
:glossy="$q.theme === 'mat'"
:inverted="$q.theme === 'ios'"
class="toolbar"
>
<q-btn
flat
dense
@@ -73,7 +74,7 @@
{ label: 'Spanish', icon: 'fa-flag-es', value: 'es' },
{ label: 'Italian', icon: 'fa-facebook', value: 'it' }
]
public leftDrawerOpen = this.$q.platform.is.desktop
public leftDrawerOpen = false;
get lang() {
return this.$q.i18n.lang

View File

@@ -1,9 +1,9 @@
<template>
<div class="toolbar" v-show="true">
<q-toolbar class="toolbar">
<button class="hide-on-drawer-visible">
<q-btn class="hide-on-drawer-visible">
<i>menu</i>
</button>
</q-btn>
<q-btn flat round dense icon="mail">
<q-chip floating color="red">2</q-chip>
</q-btn>