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

1
.gitignore vendored
View File

@@ -25,3 +25,4 @@ yarn-error.log*
# Coverage
coverage
/_PROVE

View File

@@ -5,9 +5,8 @@
"scripts": {
"lint": "tslint --project tsconfig.json",
"lint:fix": "tslint --project tsconfig.json --fix",
"dev": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev",
"dev": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m pwa",
"dev:ssr": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m ssr",
"dev:pwa": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m pwa",
"pwa": "NODE_OPTIONS=--max_old_space_size=4096 DEBUG=v8:* quasar dev -m pwa",
"test:unit": "jest",
"test:cover": "jest --coverage",

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>