mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-16 07:38:05 +09:00
Fix: time tooltip overlaps with others (#3901)
This commit is contained in:
parent
b024b7a62d
commit
2607fc56d6
@ -76,7 +76,7 @@ export default (opts: Opts = {}) => ({
|
|||||||
},
|
},
|
||||||
|
|
||||||
title(): string {
|
title(): string {
|
||||||
return new Date(this.appearNote.createdAt).toLocaleString();
|
return '';
|
||||||
},
|
},
|
||||||
|
|
||||||
urls(): string[] {
|
urls(): string[] {
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user