diff options
| author | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-18 17:31:25 +0900 |
|---|---|---|
| committer | syuilo <4439005+syuilo@users.noreply.github.com> | 2025-03-18 17:31:25 +0900 |
| commit | d609f41f61d82d64cb8b01a0f4e52fb1af2c893e (patch) | |
| tree | da49d6df08f1feb73dfcc32fa2ba85d7aa69ee28 /packages/frontend/src/ui | |
| parent | 🎨 (diff) | |
| download | sharkey-d609f41f61d82d64cb8b01a0f4e52fb1af2c893e.tar.gz sharkey-d609f41f61d82d64cb8b01a0f4e52fb1af2c893e.tar.bz2 sharkey-d609f41f61d82d64cb8b01a0f4e52fb1af2c893e.zip | |
🎨
Diffstat (limited to 'packages/frontend/src/ui')
| -rw-r--r-- | packages/frontend/src/ui/deck/main-column.vue | 5 | ||||
| -rw-r--r-- | packages/frontend/src/ui/minimum.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/ui/universal.vue | 5 | ||||
| -rw-r--r-- | packages/frontend/src/ui/visitor.vue | 2 | ||||
| -rw-r--r-- | packages/frontend/src/ui/zen.vue | 2 |
5 files changed, 9 insertions, 7 deletions
diff --git a/packages/frontend/src/ui/deck/main-column.vue b/packages/frontend/src/ui/deck/main-column.vue index 5de5d0a866..b4d494fb09 100644 --- a/packages/frontend/src/ui/deck/main-column.vue +++ b/packages/frontend/src/ui/deck/main-column.vue @@ -12,8 +12,9 @@ SPDX-License-Identifier: AGPL-3.0-only </template> </template> - <div class="_pageContainer" style="height: 100%;"> - <RouterView @contextmenu.stop="onContextmenu"/> + <div style="height: 100%;"> + <StackingRouterView v-if="prefer.s['experimental.stackingRouterView']" @contextmenu.stop="onContextmenu"/> + <RouterView v-else @contextmenu.stop="onContextmenu"/> </div> </XColumn> </template> diff --git a/packages/frontend/src/ui/minimum.vue b/packages/frontend/src/ui/minimum.vue index ebaa46850c..7b58829ff5 100644 --- a/packages/frontend/src/ui/minimum.vue +++ b/packages/frontend/src/ui/minimum.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <div :class="$style.root"> - <div class="_pageContainer" style="height: 100%;"> + <div style="height: 100%;"> <RouterView/> </div> diff --git a/packages/frontend/src/ui/universal.vue b/packages/frontend/src/ui/universal.vue index 28c05ec748..be933d5324 100644 --- a/packages/frontend/src/ui/universal.vue +++ b/packages/frontend/src/ui/universal.vue @@ -13,8 +13,9 @@ SPDX-License-Identifier: AGPL-3.0-only <XAnnouncements v-if="$i"/> <XStatusBars :class="$style.statusbars"/> </div> - <div :class="$style.content" class="_pageContainer"> - <RouterView/> + <div :class="$style.content"> + <StackingRouterView v-if="prefer.s['experimental.stackingRouterView']"/> + <RouterView v-else/> </div> <div v-if="isMobile" ref="navFooter" :class="$style.nav"> <button :class="$style.navButton" class="_button" @click="drawerMenuShowing = true"><i :class="$style.navButtonIcon" class="ti ti-menu-2"></i><span v-if="menuIndicated" :class="$style.navButtonIndicator" class="_blink"><i class="_indicatorCircle"></i></span></button> diff --git a/packages/frontend/src/ui/visitor.vue b/packages/frontend/src/ui/visitor.vue index c5b7e0663a..976c3584a7 100644 --- a/packages/frontend/src/ui/visitor.vue +++ b/packages/frontend/src/ui/visitor.vue @@ -18,7 +18,7 @@ SPDX-License-Identifier: AGPL-3.0-only <button v-if="!isRoot" :class="$style.homeButton" class="_button" @click="goHome"> <i class="ti ti-home"></i> </button> - <div :class="$style.content" class="_pageContainer"> + <div :class="$style.content"> <RouterView/> </div> </div> diff --git a/packages/frontend/src/ui/zen.vue b/packages/frontend/src/ui/zen.vue index 45524d1fbb..d60611a19c 100644 --- a/packages/frontend/src/ui/zen.vue +++ b/packages/frontend/src/ui/zen.vue @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <div :class="$style.root"> <div :class="$style.contents"> - <div class="_pageContainer" style="flex: 1; min-height: 0;"> + <div style="flex: 1; min-height: 0;"> <RouterView/> </div> |