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,7 +164,9 @@ export default Vue.extend({
width 100% width 100%
text-align left text-align left
background var(--face) background var(--face)
border-radius 8px
&.round
border-radius 8px
&.shadow &.shadow
box-shadow 0 4px 16px rgba(#000, 0.1) box-shadow 0 4px 16px rgba(#000, 0.1)

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,7 +191,9 @@ export default Vue.extend({
.ivaojijs .ivaojijs
overflow hidden overflow hidden
background var(--face) background var(--face)
border-radius 8px
&.round
border-radius 8px
&.shadow &.shadow
box-shadow 0 4px 16px rgba(#000, 0.1) box-shadow 0 4px 16px rgba(#000, 0.1)