summaryrefslogtreecommitdiff
path: root/packages/frontend/src/ui/_common_
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-04-27 21:14:59 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-04-27 21:14:59 +0900
commit3f08e41818f71bcb2f074b0351ae8e402f8a0714 (patch)
tree170a80fc5b46f41f28acb38324973bdcbe532474 /packages/frontend/src/ui/_common_
parentfix(frontend): tweak spacer style (diff)
downloadsharkey-3f08e41818f71bcb2f074b0351ae8e402f8a0714.tar.gz
sharkey-3f08e41818f71bcb2f074b0351ae8e402f8a0714.tar.bz2
sharkey-3f08e41818f71bcb2f074b0351ae8e402f8a0714.zip
🎨
Diffstat (limited to 'packages/frontend/src/ui/_common_')
-rw-r--r--packages/frontend/src/ui/_common_/mobile-footer-menu.vue15
1 files 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%;