fix: correct the truncation of save to watch later tooltip (#870)

close #870
This commit is contained in:
Hakadao
2024-06-30 04:57:58 +08:00
parent f9e68fd144
commit 797048c8db
2 changed files with 24 additions and 8 deletions

View File

@@ -357,10 +357,10 @@ function handleUndo() {
duration-300
@click.prevent="toggleWatchLater"
>
<Tooltip v-if="!isInWatchLater" :content="$t('common.save_to_watch_later')" placement="bottom" type="dark">
<Tooltip v-if="!isInWatchLater" :content="$t('common.save_to_watch_later')" placement="bottom-right" type="dark">
<div i-mingcute:carplay-line />
</Tooltip>
<Tooltip v-else :content="$t('common.added')" placement="bottom" type="dark">
<Tooltip v-else :content="$t('common.added')" placement="bottom-right" type="dark">
<Icon icon="line-md:confirm" />
</Tooltip>
</button>