mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
Adds mobile tooltips for Download page (#350)
* Adds mobile tooltips for Download page * Switch to unspecified theme Should default to dark, not sure if there's any other logic to it
This commit is contained in:
parent
3e4515c460
commit
5cdffdc278
@ -1,9 +1,19 @@
|
||||
<template>
|
||||
<div v-if="stable" class="buildTime">
|
||||
<span :title="stablePublishExact">{{ stablePublishRelative }}</span>
|
||||
<el-tooltip placement="top" open-delay="250">
|
||||
<div slot="content">
|
||||
<strong>{{ stablePublishExact }}</strong>
|
||||
</div>
|
||||
<span>{{ stablePublishRelative }}</span>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<div v-else-if="preview" class="buildTime">
|
||||
<span :title="previewPublishExact">{{ previewPublishRelative }}</span>
|
||||
<el-tooltip placement="bottom-end" open-delay="250">
|
||||
<div slot="content">
|
||||
<strong>{{ previewPublishExact }}</strong>
|
||||
</div>
|
||||
<span>{{ previewPublishRelative }}</span>
|
||||
</el-tooltip>
|
||||
</div>
|
||||
<span v-else>You need to specify props.</span>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user