enhance(client): ノートのデザインを改善

This commit is contained in:
NoriDev 2023-06-08 05:08:26 +09:00
parent 63afde0b10
commit 6289faf1f9
4 changed files with 3 additions and 4 deletions

View file

@ -47,7 +47,7 @@
<div :class="$style.main">
<MkNoteHeader :note="appearNote" :mini="true"/>
<MkInstanceTicker v-if="showTicker" :instance="appearNote.user.instance"/>
<div style="container-type: inline-size;">
<div style="container-type: inline-size; padding-top: 10px;">
<p v-if="appearNote.cw != null" :class="$style.cw">
<Mfm v-if="appearNote.cw != ''" style="margin-right: 8px;" :text="appearNote.cw" :author="appearNote.user" :i="$i"/>
<MkCwButton v-model="showContent" :note="appearNote"/>

View file

@ -603,7 +603,7 @@ if (appearNote.replyId) {
}
.quote {
padding: 8px 0;
padding: 16px 0;
}
.quoteNote {

View file

@ -40,7 +40,6 @@ defineProps<{
<style lang="scss" module>
.root {
padding-bottom: 10px;
}
.name {

View file

@ -3,7 +3,7 @@
<MkAvatar :class="$style.avatar" :user="note.user" link preview/>
<div :class="$style.main">
<MkNoteHeader :class="$style.header" :note="note" :mini="true"/>
<div>
<div style="padding-top: 10px;">
<p v-if="note.cw != null" :class="$style.cw">
<Mfm v-if="note.cw != ''" style="margin-right: 8px;" :text="note.cw" :author="note.user" :i="$i" :emojiUrls="note.emojis"/>
<MkCwButton v-model="showContent" :note="note"/>