[style] QPage should be the first element, otherwise design is broken

This commit is contained in:
Ferdinand Thiessen 2021-04-03 14:41:30 +02:00
parent ecb0649594
commit ee3cb0ba40
2 changed files with 43 additions and 47 deletions

View File

@ -1,5 +1,5 @@
<template>
<div>
<q-page padding class="fit row justify-center content-start items-start q-gutter-sm">
<q-tabs v-if="$q.screen.gt.sm" v-model="tab">
<q-tab
v-for="(tabindex, index) in tabs"
@ -37,7 +37,6 @@
</div>
</q-list>
</q-drawer>
<q-page padding class="fit row justify-left q-col-gutter-sm">
<q-tab-panels
v-model="tab"
style="background-color: transparent"
@ -62,7 +61,6 @@
</q-tab-panel>
</q-tab-panels>
</q-page>
</div>
</template>
<script lang="ts">

View File

@ -1,5 +1,5 @@
<template>
<div>
<q-page padding class="fit row justify-center content-start items-start q-gutter-sm">
<q-tabs v-if="$q.screen.gt.sm" v-model="tab">
<q-tab
v-for="(tabindex, index) in tabs"
@ -24,7 +24,6 @@
</q-item>
</q-list>
</q-drawer>
<q-page padding class="fit row justify-center content-start items-start q-gutter-sm">
<q-tab-panels
v-model="tab"
style="background-color: transparent"
@ -42,7 +41,6 @@
</q-tab-panel>
</q-tab-panels>
</q-page>
</div>
</template>
<script lang="ts">