This commit is contained in:
syuilo 2020-10-19 15:05:29 +09:00
parent 6d7e4fe2a1
commit f0691c8a4f
3 changed files with 6 additions and 5 deletions

View file

@ -8,8 +8,8 @@
<div class="_section"> <div class="_section">
<div class="_content"> <div class="_content">
<MkRemoteCaution v-if="note.user.host != null" :href="note.url || note.uri" style="margin-bottom: var(--margin)"/> <MkRemoteCaution v-if="note.user.host != null" :href="note.url || note.uri" class="_vMargin"/>
<XNote v-model:note="note" :key="note.id" :detail="true"/> <XNote v-model:note="note" :key="note.id" :detail="true" class="_vMargin"/>
</div> </div>
</div> </div>

View file

@ -1,13 +1,13 @@
<template> <template>
<div class="mk-user-page" v-if="user" v-size="{ max: [500] }"> <div class="mk-user-page" v-if="user" v-size="{ max: [500] }">
<MkRemoteCaution v-if="user.host != null" :href="user.url" style="margin-bottom: var(--margin)"/>
<!-- TODO --> <!-- TODO -->
<!-- <div class="punished" v-if="user.isSuspended"><Fa :icon="faExclamationTriangle" style="margin-right: 8px;"/> {{ $t('userSuspended') }}</div> --> <!-- <div class="punished" v-if="user.isSuspended"><Fa :icon="faExclamationTriangle" style="margin-right: 8px;"/> {{ $t('userSuspended') }}</div> -->
<!-- <div class="punished" v-if="user.isSilenced"><Fa :icon="faExclamationTriangle" style="margin-right: 8px;"/> {{ $t('userSilenced') }}</div> --> <!-- <div class="punished" v-if="user.isSilenced"><Fa :icon="faExclamationTriangle" style="margin-right: 8px;"/> {{ $t('userSilenced') }}</div> -->
<div class="profile _section _fitBottom"> <div class="profile _section _fitBottom">
<div class="_content" :key="user.id"> <MkRemoteCaution v-if="user.host != null" :href="user.url" class="_content _vMargin"/>
<div class="_content _vMargin" :key="user.id">
<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>
<div class="fade"></div> <div class="fade"></div>

View file

@ -324,6 +324,7 @@ hr {
> ._title, > ._title,
> ._content { > ._content {
box-sizing: border-box;
max-width: var(--baseContentWidth); max-width: var(--baseContentWidth);
margin: 0 auto; margin: 0 auto;
} }