fix(frontend): 네비게이션 메뉴의 하단 프로필 영역이 잘못된 디자인으로 표시됨

This commit is contained in:
NoriDev 2023-10-27 17:47:50 +09:00
parent 2028181015
commit a485fa3e82
2 changed files with 14 additions and 6 deletions

View file

@ -49,6 +49,7 @@ Misskey의 전체 변경 사항을 확인하려면, [CHANGELOG.md#2023xx](CHANGE
- 특정 조건에서 헤더의 왼쪽에 여백이 발생할 수 있음
- 일부 페이지에서 잘못된 디자인이 표시됨
- 일부 페이지에서 액션 항목이 존재해도 버튼이 표시되지 않을 수 있음
- Fix: 네비게이션 메뉴의 하단 프로필 영역이 잘못된 디자인으로 표시됨
### Server
- Feat: 연합에서 노트 수정이 반영됨 (libnare/cp-castella#1)

View file

@ -44,10 +44,12 @@ SPDX-License-Identifier: AGPL-3.0-only
<button v-vibrate="ColdDeviceStorage.get('vibrateSystem') ? 5 : ''" class="_button" :class="$style.post" data-cy-open-post-form @click="os.post">
<i :class="[$style.postIcon, defaultStore.state.renameTheButtonInPostFormToNya ? 'ti-paw-filled' : 'ti-pencil']" class="ti ti-fw"></i><span style="position: relative;">{{ defaultStore.state.renameTheButtonInPostFormToNya ? i18n.ts.nya : i18n.ts.note }}</span>
</button>
<div :class="$style.profile">
<button v-vibrate="ColdDeviceStorage.get('vibrateSystem') ? 5 : ''" class="_button" :class="$style.account" @click="openAccountMenu">
<MkAvatar :user="$i" :class="$style.avatar"/><MkAcct :class="$style.acct" class="_nowrap" :user="$i"/>
</button>
</div>
</div>
</div>
</template>
@ -108,6 +110,7 @@ function more() {
.root {
display: flex;
flex-direction: column;
height: 100%;
}
.top {
@ -159,7 +162,7 @@ function more() {
.bottom {
position: sticky;
bottom: 0;
padding: 20px 0;
padding: 20px 0 calc(env(safe-area-inset-bottom) + 25px);
background: var(--X14);
-webkit-backdrop-filter: var(--blur, blur(8px));
backdrop-filter: var(--blur, blur(8px));
@ -204,6 +207,11 @@ function more() {
width: 32px;
}
.profile {
display: flex;
margin-top: 16px;
}
.account {
position: relative;
display: flex;
@ -213,7 +221,6 @@ function more() {
width: 100%;
text-align: left;
box-sizing: border-box;
margin-top: 16px;
}
.avatar {
@ -293,7 +300,7 @@ function more() {
top: 0;
left: 20px;
color: var(--navIndicator);
font-size: 8px;
font-size: 6px;
animation: blink 1s infinite;
&:has(.itemIndicateValueIcon) {