This commit is contained in:
syuilo 2020-11-29 00:43:03 +09:00
parent d39c153c57
commit 4eab9b4354

View file

@ -1,4 +1,5 @@
<template> <template>
<div>
<div class="ftskorzw wide _section" v-if="user && narrow === false"> <div class="ftskorzw wide _section" v-if="user && narrow === false">
<div class="banner-container" :style="style"> <div class="banner-container" :style="style">
<div class="banner" ref="banner" :style="style"></div> <div class="banner" ref="banner" :style="style"></div>
@ -171,11 +172,11 @@
<template v-if="page === 'index'"> <template v-if="page === 'index'">
<div class="_content _vMargin"> <div class="_content _vMargin">
<div v-if="user.pinnedNotes.length > 0"> <div v-if="user.pinnedNotes.length > 0" class="_vMargin">
<XNote v-for="note in user.pinnedNotes" class="note _vMargin" :note="note" @update:note="pinnedNoteUpdated(note, $event)" :key="note.id" :detail="true" :pinned="true"/> <XNote v-for="note in user.pinnedNotes" class="note _vMargin" :note="note" @update:note="pinnedNoteUpdated(note, $event)" :key="note.id" :detail="true" :pinned="true"/>
</div> </div>
<XPhotos :user="user" :key="user.id"/> <XPhotos :user="user" :key="user.id" class="_vMargin"/>
<XActivity :user="user" :key="user.id"/> <XActivity :user="user" :key="user.id" class="_vMargin"/>
</div> </div>
<div class="_content _vMargin"> <div class="_content _vMargin">
<XUserTimeline :user="user" class="_content"/> <XUserTimeline :user="user" class="_content"/>
@ -187,6 +188,7 @@
<div v-else-if="error"> <div v-else-if="error">
<MkError @retry="fetch()"/> <MkError @retry="fetch()"/>
</div> </div>
</div>
</template> </template>
<script lang="ts"> <script lang="ts">
@ -718,7 +720,7 @@ export default defineComponent({
} }
&.max-width_500px { &.max-width_500px {
> .profile > ._content { > .profile > .main {
> .banner-container { > .banner-container {
height: 140px; height: 140px;