aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBobby <[email protected]>2024-08-25 14:49:55 -0400
committerBobby <[email protected]>2024-08-25 14:49:55 -0400
commitd846d0fa4483c9ea91e1082aac0f7aea9ed64653 (patch)
tree13497eabf3444d7436f42469919d3ef9b0d64e32
parent3316aba2fd31e7ee9e1556392046c110c25c6cab (diff)
downloadyugen-d846d0fa4483c9ea91e1082aac0f7aea9ed64653.tar.xz
yugen-d846d0fa4483c9ea91e1082aac0f7aea9ed64653.zip
partial update
-rw-r--r--static/css/main.css8
-rw-r--r--templates/partials/datacard_render.html2
2 files changed, 9 insertions, 1 deletions
diff --git a/static/css/main.css b/static/css/main.css
index eff2ebe..5b7898d 100644
--- a/static/css/main.css
+++ b/static/css/main.css
@@ -666,6 +666,14 @@ video {
height: 100%;
}
+.h-40 {
+ height: 10rem;
+}
+
+.h-72 {
+ height: 18rem;
+}
+
.max-h-24 {
max-height: 6rem;
}
diff --git a/templates/partials/datacard_render.html b/templates/partials/datacard_render.html
index e4a89df..860adc9 100644
--- a/templates/partials/datacard_render.html
+++ b/templates/partials/datacard_render.html
@@ -1,7 +1,7 @@
{% for anime in data %}
{% if anime.title.english %}
<a href="#" class="w-1/2 lg:w-1/4 xl:w-1/6 text-gray-500 px-1 mb-4 hover:text-white flex flex-col gap-2">
- <img src="{{ anime.image }}" alt="{{ anime.title.english }}" class="rounded-lg w-56 h-auto mx-auto object-cover"/>
+ <img src="{{ anime.image }}" alt="{{ anime.title.english }}" class="rounded-lg w-56 h-72 mx-auto object-cover"/>
<div class="inline-flex gap-2 flex-wrap">
<span class="text-xs font-bold bg-white bg-opacity-10 text-white px-2 py-1 rounded flex items-center gap-1">
<svg stroke="currentColor" fill="none" stroke-width="2" viewBox="0 0 24 24" stroke-linecap="round" stroke-linejoin="round" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg" class="mr-1">