diff options
| author | Bobby <[email protected]> | 2024-08-25 14:49:55 -0400 |
|---|---|---|
| committer | Bobby <[email protected]> | 2024-08-25 14:49:55 -0400 |
| commit | d846d0fa4483c9ea91e1082aac0f7aea9ed64653 (patch) | |
| tree | 13497eabf3444d7436f42469919d3ef9b0d64e32 | |
| parent | 3316aba2fd31e7ee9e1556392046c110c25c6cab (diff) | |
| download | yugen-d846d0fa4483c9ea91e1082aac0f7aea9ed64653.tar.xz yugen-d846d0fa4483c9ea91e1082aac0f7aea9ed64653.zip | |
partial update
| -rw-r--r-- | static/css/main.css | 8 | ||||
| -rw-r--r-- | templates/partials/datacard_render.html | 2 |
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"> |
