Attempt at preventing layout shifts in record show pages

This commit is contained in:
Claudio Ortolina
2024-12-03 22:54:53 +00:00
parent 2c055acad6
commit 2321cc8cfb
2 changed files with 2 additions and 2 deletions
@@ -1,5 +1,5 @@
<div class="md:columns-2 mt-4 px-4">
<div class="drop-shadow max-w-3xl">
<div class="drop-shadow md:max-w-[38rem]">
<img
class="w-full rounded-lg drop-shadow"
src={~p"/covers/#{@record.id}?vsn=#{@record.cover_hash || ""}"}
@@ -1,5 +1,5 @@
<div class="md:columns-2 mt-4 px-4">
<div class="drop-shadow max-w-3xl">
<div class="drop-shadow md:max-w-[38rem]">
<img
class="w-full rounded-lg drop-shadow"
src={~p"/covers/#{@record.id}?vsn=#{@record.cover_hash || ""}"}