diff options
Diffstat (limited to 'templates/partials/datacardcompact_render.html')
| -rw-r--r-- | templates/partials/datacardcompact_render.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/partials/datacardcompact_render.html b/templates/partials/datacardcompact_render.html index 6303623..64f7517 100644 --- a/templates/partials/datacardcompact_render.html +++ b/templates/partials/datacardcompact_render.html @@ -3,7 +3,7 @@ <div class="w-full max-w-full px-2 mb-2 anime-item"> <a href="{% url 'watch:watch' anime.id %}"> <div class="flex flex-row bg-neutral-950 rounded hover:bg-{{ user.preferences.accent_colour }}-600 hover:bg-opacity-30 p-2 gap-4 items-center"> - <img src="{{ anime.image }}" alt="{{ anime.title.english }}" class="rounded-lg w-16 lg:w-12 h-24 lg:h-16 object-cover"/> + <img loading="lazy" src="{{ anime.image }}" alt="{{ anime.title.english }}" class="rounded-lg w-16 lg:w-12 h-24 lg:h-16 object-cover"/> <div class="flex flex-col lg:flex-row gap-2 max-w-[calc(100%-6rem)] lg:items-center"> <h2 class="max-w-full text-xl font-bold text-transparent bg-clip-text truncate overflow-hidden text-ellipsis whitespace-nowrap" style="background: linear-gradient(-45deg, {% if anime.color %}{{ anime.color }}{% else %}white{% endif %}, white); -webkit-background-clip: text; background-clip: text;"> {% if user.preferences.title_language == "english" and anime.title.english %} |
