From 97fddf2a80e0d37757d668d0e3dac52aaaf733c3 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Tue, 25 Mar 2025 20:06:46 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/ui/_common_/navbar.vue | 19 ++++++++++ packages/frontend/src/ui/universal.vue | 38 ++------------------ 2 files changed, 22 insertions(+), 35 deletions(-) diff --git a/packages/frontend/src/ui/_common_/navbar.vue b/packages/frontend/src/ui/_common_/navbar.vue index 0f00a25d7a..8bd33c7052 100644 --- a/packages/frontend/src/ui/_common_/navbar.vue +++ b/packages/frontend/src/ui/_common_/navbar.vue @@ -48,6 +48,9 @@ SPDX-License-Identifier: AGPL-3.0-only
+ @@ -104,6 +107,14 @@ import { $i } from '@/i.js'; const router = useRouter(); +const props = defineProps<{ + showWidgetButton?: boolean; +}>(); + +const emit = defineEmits<{ + (ev: 'widgetButtonClick'): void; +}>(); + const forceIconOnly = ref(window.innerWidth <= 1279); const iconOnly = computed(() => { return forceIconOnly.value || (store.r.menuDisplay.value === 'sideIcon'); @@ -560,6 +571,14 @@ function menuEdit() { backdrop-filter: var(--MI-blur, blur(8px)); } + .widget { + display: block; + position: relative; + width: 100%; + height: 52px; + text-align: center; + } + .post { display: block; position: relative; diff --git a/packages/frontend/src/ui/universal.vue b/packages/frontend/src/ui/universal.vue index acd188ac0c..576f215acd 100644 --- a/packages/frontend/src/ui/universal.vue +++ b/packages/frontend/src/ui/universal.vue @@ -5,7 +5,7 @@ SPDX-License-Identifier: AGPL-3.0-only