This commit is contained in:
syuilo 2019-02-27 16:47:13 +09:00
parent e6311fdb13
commit 9789b9a083
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="mk-note-detail" tabindex="-1" :class="{ shadow: $store.state.device.useShadow }"> <div class="mk-note-detail" tabindex="-1" :class="{ shadow: $store.state.device.useShadow, round: $store.state.device.roundedCorners }">
<button <button
class="more" class="more"
v-if="appearNote.reply && appearNote.reply.replyId && conversation.length == 0" v-if="appearNote.reply && appearNote.reply.replyId && conversation.length == 0"
@ -164,6 +164,8 @@ export default Vue.extend({
width 100% width 100%
text-align left text-align left
background var(--face) background var(--face)
&.round
border-radius 8px border-radius 8px
&.shadow &.shadow

View File

@ -1,5 +1,5 @@
<template> <template>
<div class="ivaojijs" :class="{ shadow: $store.state.device.useShadow }"> <div class="ivaojijs" :class="{ shadow: $store.state.device.useShadow, round: $store.state.device.roundedCorners }">
<div class="empty" v-if="notes.length == 0 && !fetching && inited">{{ $t('@.no-notes') }}</div> <div class="empty" v-if="notes.length == 0 && !fetching && inited">{{ $t('@.no-notes') }}</div>
<mk-error v-if="!fetching && !inited" @retry="init()"/> <mk-error v-if="!fetching && !inited" @retry="init()"/>
@ -191,6 +191,8 @@ export default Vue.extend({
.ivaojijs .ivaojijs
overflow hidden overflow hidden
background var(--face) background var(--face)
&.round
border-radius 8px border-radius 8px
&.shadow &.shadow