forked from verdnatura/salix-front
refs #6082 navBar fix mobile
This commit is contained in:
parent
499ca540c8
commit
36a487a9fc
|
@ -62,7 +62,7 @@ const pinnedModulesRef = ref();
|
||||||
<QBadge label="Beta" align="top" />
|
<QBadge label="Beta" align="top" />
|
||||||
</QToolbarTitle>
|
</QToolbarTitle>
|
||||||
<QSpace />
|
<QSpace />
|
||||||
<div id="searchbar"></div>
|
<div id="searchbar" class="searchbar"></div>
|
||||||
<QSpace />
|
<QSpace />
|
||||||
<div class="q-pl-sm q-gutter-sm row items-center no-wrap">
|
<div class="q-pl-sm q-gutter-sm row items-center no-wrap">
|
||||||
<div id="actions-prepend"></div>
|
<div id="actions-prepend"></div>
|
||||||
|
@ -77,7 +77,7 @@ const pinnedModulesRef = ref();
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
<QBtn
|
<QBtn
|
||||||
class="{quasar.platform.is.mobile: 'q-pa-none q-ml-none'}"
|
:class="{ 'q-pa-none': quasar.platform.is.mobile }"
|
||||||
id="pinnedModules"
|
id="pinnedModules"
|
||||||
icon="apps"
|
icon="apps"
|
||||||
flat
|
flat
|
||||||
|
@ -90,7 +90,7 @@ const pinnedModulesRef = ref();
|
||||||
<PinnedModules ref="pinnedModulesRef" />
|
<PinnedModules ref="pinnedModulesRef" />
|
||||||
</QBtn>
|
</QBtn>
|
||||||
<QBtn
|
<QBtn
|
||||||
class="{quasar.platform.is.mobile: 'q-pa-none q-ml-none'}"
|
:class="{ 'q-pa-none': quasar.platform.is.mobile }"
|
||||||
rounded
|
rounded
|
||||||
dense
|
dense
|
||||||
flat
|
flat
|
||||||
|
@ -115,14 +115,11 @@ const pinnedModulesRef = ref();
|
||||||
</QHeader>
|
</QHeader>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<!-- <style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.pinnedModules {
|
.searchbar {
|
||||||
@media (max-width: 768px) {
|
width: max-content;
|
||||||
padding: 0px;
|
|
||||||
margin-left: 0px;
|
|
||||||
}
|
}
|
||||||
}
|
</style>
|
||||||
</style> -->
|
|
||||||
<i18n>
|
<i18n>
|
||||||
en:
|
en:
|
||||||
Go to Salix: Go to Salix
|
Go to Salix: Go to Salix
|
||||||
|
|
|
@ -35,19 +35,13 @@ async function redirect() {
|
||||||
<template>
|
<template>
|
||||||
<QMenu anchor="bottom left" max-width="300px" max-height="400px">
|
<QMenu anchor="bottom left" max-width="300px" max-height="400px">
|
||||||
<div v-if="pinnedModules.length >= 0" class="row justify-around q-pa-md">
|
<div v-if="pinnedModules.length >= 0" class="row justify-around q-pa-md">
|
||||||
<QBtn
|
<QBtn flat stack size="lg" icon="more_up" @click="redirect($route.params.id)">
|
||||||
flat
|
<div class="button-text">Salix</div>
|
||||||
stack
|
|
||||||
size="lg"
|
|
||||||
icon="more_up"
|
|
||||||
class="col-5"
|
|
||||||
@click="redirect($route.params.id)"
|
|
||||||
>
|
|
||||||
<div class="text-center button-text">Salix</div>
|
|
||||||
</QBtn>
|
</QBtn>
|
||||||
<QBtn flat stack size="lg" icon="home" class="col-5" to="/">
|
<QBtn flat stack size="lg" icon="home" to="/">
|
||||||
<div class="text-center button-text">{{ t('Home') }}</div>
|
<div class="button-text">{{ t('Home') }}</div>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
|
|
||||||
<div class="row col-12 justify-around q-mt-md">
|
<div class="row col-12 justify-around q-mt-md">
|
||||||
<QBtn
|
<QBtn
|
||||||
flat
|
flat
|
||||||
|
|
|
@ -114,13 +114,9 @@ async function search() {
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.q-field {
|
|
||||||
width: 250px;
|
|
||||||
}
|
|
||||||
|
|
||||||
@media screen and (min-width: $breakpoint-sm-max) {
|
@media screen and (min-width: $breakpoint-sm-max) {
|
||||||
.q-field {
|
.q-field {
|
||||||
width: 400px;
|
width: 450px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue