From da06c19ced90221dbe32368e2761cbb79f21d53a Mon Sep 17 00:00:00 2001 From: hajimi Date: Sun, 2 Aug 2026 01:21:46 +0800 Subject: [PATCH] style: compact community nav spacing --- uniapp/src/pages/community/community.vue | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/uniapp/src/pages/community/community.vue b/uniapp/src/pages/community/community.vue index 7beffe2..3d9786e 100644 --- a/uniapp/src/pages/community/community.vue +++ b/uniapp/src/pages/community/community.vue @@ -409,7 +409,7 @@ onShow(() => { height: 88rpx; display: flex; align-items: flex-end; - gap: 18rpx; + gap: 12rpx; } .community-wallet { @@ -426,6 +426,7 @@ onShow(() => { background: #fafdff; box-sizing: border-box; flex-shrink: 0; + margin-left: auto; &__coin { width: 38rpx; @@ -448,21 +449,20 @@ onShow(() => { } .community-nav { - flex: 1; - min-width: 0; + flex: 0 1 auto; height: 88rpx; display: flex; align-items: flex-end; - gap: 0; + gap: 18rpx; padding: 0; background: transparent; box-sizing: border-box; &__item { position: relative; - flex: 1; - min-width: 0; + flex: 0 0 auto; height: 88rpx; + padding: 0 10rpx; display: flex; align-items: center; justify-content: center; @@ -471,6 +471,7 @@ onShow(() => { text { font-size: 29rpx; font-weight: 500; + white-space: nowrap; } &--active {