UI tweak
This commit is contained in:
parent
4f3fc9ffd0
commit
2fcf6fb0fd
|
@ -1,9 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="mk-dialog" :class="{ iconOnly }">
|
<div class="mk-dialog" :class="{ iconOnly }">
|
||||||
<transition name="bg-fade" appear>
|
<transition :name="$store.state.device.animation ? 'bg-fade' : ''" appear>
|
||||||
<div class="bg" ref="bg" @click="onBgClick" v-if="show"></div>
|
<div class="bg" ref="bg" @click="onBgClick" v-if="show"></div>
|
||||||
</transition>
|
</transition>
|
||||||
<transition name="dialog" appear @after-leave="() => { destroyDom(); }">
|
<transition :name="$store.state.device.animation ? 'dialog' : ''" appear @after-leave="() => { destroyDom(); }">
|
||||||
<div class="main" ref="main" v-if="show">
|
<div class="main" ref="main" v-if="show">
|
||||||
<template v-if="type == 'signin'">
|
<template v-if="type == 'signin'">
|
||||||
<mk-signin/>
|
<mk-signin/>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<portal to="avatar" v-if="note"><mk-avatar class="avatar" :user="note.user" :disable-preview="true"/></portal>
|
<portal to="avatar" v-if="note"><mk-avatar class="avatar" :user="note.user" :disable-preview="true"/></portal>
|
||||||
<portal to="title" v-if="note">{{ $t('noteOf', { user: note.user.name }) }}</portal>
|
<portal to="title" v-if="note">{{ $t('noteOf', { user: note.user.name }) }}</portal>
|
||||||
|
|
||||||
<transition name="zoom" mode="out-in">
|
<transition :name="$store.state.device.animation ? 'zoom' : ''" mode="out-in">
|
||||||
<div v-if="note">
|
<div v-if="note">
|
||||||
<mk-button v-if="hasNext && !showNext" @click="showNext = true" primary style="margin: 0 auto var(--margin) auto;"><fa :icon="faChevronUp"/></mk-button>
|
<mk-button v-if="hasNext && !showNext" @click="showNext = true" primary style="margin: 0 auto var(--margin) auto;"><fa :icon="faChevronUp"/></mk-button>
|
||||||
<x-notes v-if="showNext" ref="next" :pagination="next"/>
|
<x-notes v-if="showNext" ref="next" :pagination="next"/>
|
||||||
|
|
Loading…
Reference in New Issue