fix: adjust layout classes for responsive design on ViewPage
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
Some checks failed
Spell Check / Spell Check with Typos (push) Failing after 7s
This commit is contained in:
parent
4d023a7c7c
commit
2b78abcd3b
1 changed files with 4 additions and 4 deletions
|
|
@ -116,8 +116,8 @@ async function scrollTo(id: string) {
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<main
|
<main
|
||||||
class="full-height q-gutter-sm"
|
class="full-height q-gutter-sm no-wrap"
|
||||||
:class="{ 'row reverse': $q.screen.gt.xs, column: $q.screen.xs }"
|
:class="{ column: !toc && $q.screen.lt.md, 'row reverse': $q.screen.gt.sm }"
|
||||||
>
|
>
|
||||||
<section
|
<section
|
||||||
v-if="toc"
|
v-if="toc"
|
||||||
|
|
@ -168,7 +168,7 @@ async function scrollTo(id: string) {
|
||||||
</q-list>
|
</q-list>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section v-if="!toc && $q.screen.xs">
|
<section v-if="!toc && $q.screen.lt.md">
|
||||||
<q-btn
|
<q-btn
|
||||||
dense
|
dense
|
||||||
class="full-width text-capitalize"
|
class="full-width text-capitalize"
|
||||||
|
|
@ -181,7 +181,7 @@ async function scrollTo(id: string) {
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section
|
<section
|
||||||
v-if="content || (!toc && $q.screen.xs)"
|
v-if="$q.screen.gt.xs || (!toc && $q.screen.xs)"
|
||||||
ref="wrapper"
|
ref="wrapper"
|
||||||
class="markdown col scroll full-height rounded"
|
class="markdown col scroll full-height rounded"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue