Fix: time tooltip overlaps with others (#3901)

This commit is contained in:
MeiMei 2019-01-17 06:40:11 +09:00 committed by syuilo
parent b024b7a62d
commit 2607fc56d6
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ export default (opts: Opts = {}) => ({
}, },
title(): string { title(): string {
return new Date(this.appearNote.createdAt).toLocaleString(); return '';
}, },
urls(): string[] { urls(): string[] {

View File

@ -1,5 +1,5 @@
<template> <template>
<time class="mk-time"> <time class="mk-time" :title="absolute">
<span v-if=" mode == 'relative' ">{{ relative }}</span> <span v-if=" mode == 'relative' ">{{ relative }}</span>
<span v-if=" mode == 'absolute' ">{{ absolute }}</span> <span v-if=" mode == 'absolute' ">{{ absolute }}</span>
<span v-if=" mode == 'detail' ">{{ absolute }} ({{ relative }})</span> <span v-if=" mode == 'detail' ">{{ absolute }} ({{ relative }})</span>