Address Tailwind deprecations and renames

This commit is contained in:
Claudio Ortolina
2025-02-28 20:55:36 +00:00
parent d9e87d6c80
commit 545dd808b7
12 changed files with 35 additions and 31 deletions
@@ -2,7 +2,7 @@
<header class="gap-6 mb-2">
<div class="flex items-center justify-between gap-6 mb-2 mt-2">
<.search_form query={@record_list_params.query} />
<nav class="mt-2 isolate inline-flex rounded-md shadow-sm">
<nav class="mt-2 isolate inline-flex rounded-md shadow-xs">
<.link
class={[
"relative inline-flex items-center rounded-l-md",
@@ -34,7 +34,7 @@
</header>
<div class="flex items-end justify-between gap-6 mt-8">
<span class="isolate inline-flex rounded-md shadow-sm">
<span class="isolate inline-flex rounded-md shadow-xs">
<.link
patch={order_path(@record_list_params, :alphabetical)}
class={[
@@ -1,7 +1,7 @@
<div class="md:columns-2 mt-4 px-4">
<div class="drop-shadow md:max-w-[38rem]">
<div class="drop-shadow-sm md:max-w-[38rem]">
<img
class="w-full rounded-lg drop-shadow"
class="w-full rounded-lg drop-shadow-sm"
src={~p"/covers/#{@record.id}?vsn=#{@record.cover_hash}"}
alt={@record.title}
/>
@@ -46,7 +46,7 @@
<.focus_wrap
id={"actions-#{@record.id}"}
class={[
"hidden pointer-events-auto absolute right-0 z-10 mt-2 w-48 origin-top-right rounded-md bg-white dark:bg-zinc-800 py-2 shadow-lg ring-1 ring-zinc-900/5 focus:outline-none"
"hidden pointer-events-auto absolute right-0 z-10 mt-2 w-48 origin-top-right rounded-md bg-white dark:bg-zinc-800 py-2 shadow-lg ring-1 ring-zinc-900/5 focus:outline-hidden"
]}
role="menu"
aria-orientation="vertical"