style: compact community nav spacing

This commit is contained in:
hajimi
2026-08-02 01:21:46 +08:00
parent 6970eba225
commit da06c19ced
+7 -6
View File
@@ -409,7 +409,7 @@ onShow(() => {
height: 88rpx; height: 88rpx;
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
gap: 18rpx; gap: 12rpx;
} }
.community-wallet { .community-wallet {
@@ -426,6 +426,7 @@ onShow(() => {
background: #fafdff; background: #fafdff;
box-sizing: border-box; box-sizing: border-box;
flex-shrink: 0; flex-shrink: 0;
margin-left: auto;
&__coin { &__coin {
width: 38rpx; width: 38rpx;
@@ -448,21 +449,20 @@ onShow(() => {
} }
.community-nav { .community-nav {
flex: 1; flex: 0 1 auto;
min-width: 0;
height: 88rpx; height: 88rpx;
display: flex; display: flex;
align-items: flex-end; align-items: flex-end;
gap: 0; gap: 18rpx;
padding: 0; padding: 0;
background: transparent; background: transparent;
box-sizing: border-box; box-sizing: border-box;
&__item { &__item {
position: relative; position: relative;
flex: 1; flex: 0 0 auto;
min-width: 0;
height: 88rpx; height: 88rpx;
padding: 0 10rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
@@ -471,6 +471,7 @@ onShow(() => {
text { text {
font-size: 29rpx; font-size: 29rpx;
font-weight: 500; font-weight: 500;
white-space: nowrap;
} }
&--active { &--active {