From 25b90fafdca21a26ef09b07b36003dd4578e6339 Mon Sep 17 00:00:00 2001 From: algerkong Date: Fri, 18 Apr 2025 19:18:37 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=E8=B0=83=E6=95=B4=20AppLay?= =?UTF-8?q?out=20=E5=92=8C=20AppMenu=20=E7=BB=84=E4=BB=B6=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E4=BC=98=E5=8C=96=E5=BA=95=E9=83=A8=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E7=BD=AE=E5=92=8C=E9=97=B4=E8=B7=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/layout/AppLayout.vue | 1 + src/renderer/layout/components/AppMenu.vue | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/renderer/layout/AppLayout.vue b/src/renderer/layout/AppLayout.vue index 38edc7e..01de049 100644 --- a/src/renderer/layout/AppLayout.vue +++ b/src/renderer/layout/AppLayout.vue @@ -146,6 +146,7 @@ provide('openPlaylistDrawer', openPlaylistDrawer); overflow: auto; display: block; flex: none; + padding-bottom: 70px; } } diff --git a/src/renderer/layout/components/AppMenu.vue b/src/renderer/layout/components/AppMenu.vue index 2d2228f..267af28 100644 --- a/src/renderer/layout/components/AppMenu.vue +++ b/src/renderer/layout/components/AppMenu.vue @@ -113,8 +113,10 @@ const isText = ref(false); .app-menu { max-width: 100%; width: 100vw; - position: relative; - z-index: 999999; + position: fixed; + bottom: 0; + left: 0; + z-index: 99999; @apply bg-light dark:bg-black border-t border-gray-200 dark:border-gray-700; &-header { @@ -122,7 +124,7 @@ const isText = ref(false); } &-list { - @apply flex justify-between; + @apply flex justify-between px-4; } &-item {