From 3f08e41818f71bcb2f074b0351ae8e402f8a0714 Mon Sep 17 00:00:00 2001 From: syuilo <4439005+syuilo@users.noreply.github.com> Date: Sun, 27 Apr 2025 21:14:59 +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 --- .../src/ui/_common_/mobile-footer-menu.vue | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/packages/frontend/src/ui/_common_/mobile-footer-menu.vue b/packages/frontend/src/ui/_common_/mobile-footer-menu.vue index 7c2de12221..88c6191e5a 100644 --- a/packages/frontend/src/ui/_common_/mobile-footer-menu.vue +++ b/packages/frontend/src/ui/_common_/mobile-footer-menu.vue @@ -79,10 +79,9 @@ watch(rootEl, () => { .root { position: relative; z-index: 1; - padding: 12px 12px max(12px, env(safe-area-inset-bottom, 0px)) 12px; + padding-bottom: env(safe-area-inset-bottom, 0px); display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; - grid-gap: 8px; width: 100%; box-sizing: border-box; background: var(--MI_THEME-navBg); @@ -91,6 +90,16 @@ watch(rootEl, () => { } .item { + padding: 12px 0; + + &:first-child { + padding-left: 12px; + } + + &:last-child { + padding-right: 12px; + } + &.post { .itemInner { background: linear-gradient(90deg, var(--MI_THEME-buttonGradateA), var(--MI_THEME-buttonGradateB)); @@ -112,7 +121,7 @@ watch(rootEl, () => { padding: 0; aspect-ratio: 1; width: 100%; - max-width: 45px; + max-width: 42px; margin: auto; align-content: center; border-radius: 100%;