[client] Remove url card animation

This commit is contained in:
Laura Hausmann 2023-11-23 17:17:29 +01:00
parent 789fd97512
commit c347eca737
No known key found for this signature in database
GPG key ID: D044E84C5BE01605

View file

@ -1,8 +1,4 @@
<template> <template>
<transition
:name="defaultStore.state.animation ? 'zoom' : ''"
mode="out-in"
>
<!-- v-if="!fetching" for now, I think there's something <!-- v-if="!fetching" for now, I think there's something
weird w/ some links stuck loading (?) --> weird w/ some links stuck loading (?) -->
<article v-if="!fetching" class="url-preview" @click.stop> <article v-if="!fetching" class="url-preview" @click.stop>
@ -17,7 +13,7 @@
}" }"
> >
<div v-if="thumbnail" class="thumbnail"> <div v-if="thumbnail" class="thumbnail">
<img :src="thumbnail" loading="lazy" /> <img :src="thumbnail" loading="lazy" decoding="async" />
<button <button
v-if="tweetId" v-if="tweetId"
class="_button" class="_button"
@ -95,7 +91,6 @@
@click.stop @click.stop
></iframe> ></iframe>
</article> </article>
</transition>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>