enhance(client): 翻訳スタイルの改善

This commit is contained in:
NoriDev 2023-06-02 19:51:35 +09:00
parent b5af0a3b1f
commit b3f7c4bbdc
2 changed files with 6 additions and 8 deletions

View file

@ -61,10 +61,9 @@
<div v-else>
<b>{{ i18n.t('translatedFrom', { x: translation.sourceLang }) }}:</b><hr style="margin: 10px 0;">
<Mfm :text="translation.text" :author="appearNote.user" :i="$i" :emojiUrls="appearNote.emojis"/>
<div v-if="translation.translator == 'ctav3'">
<hr>
<img v-if="defaultStore.state.darkMode == false" src="/client-assets/color-short.svg" alt="">
<img v-else src="/client-assets/white-short.svg" alt=""/>
<div v-if="translation.translator == 'ctav3'" style="margin-top: 10px; padding: 0 0 15px;">
<img v-if="!defaultStore.state.darkMode" src="/client-assets/color-short.svg" alt="" style="float: right;">
<img v-else src="/client-assets/white-short.svg" alt="" style="float: right;"/>
</div>
</div>
</div>

View file

@ -69,10 +69,9 @@
<div v-else>
<b>{{ i18n.t('translatedFrom', { x: translation.sourceLang }) }}:</b><hr style="margin: 10px 0;">
<Mfm :text="translation.text" :author="appearNote.user" :i="$i" :emojiUrls="appearNote.emojis"/>
<div v-if="translation.translator == 'ctav3'">
<hr>
<img v-if="defaultStore.state.darkMode == false" src="/client-assets/color-short.svg">
<img v-else src="/client-assets/white-short.svg"/>
<div v-if="translation.translator == 'ctav3'" style="margin-top: 10px; padding: 0 0 15px;">
<img v-if="!defaultStore.state.darkMode" src="/client-assets/color-short.svg" alt="" style="float: right;">
<img v-else src="/client-assets/white-short.svg" alt="" style="float: right;"/>
</div>
</div>
</div>