misc: Change the way buttons are handled
This commit is contained in:
1 parent
d8ac0d807a
commit
e243848e17
30 files changed
+215
-152
No files matched your search
@@ -10,13 +10,15 @@
|
||||
<!-- svelte-ignore a11y-missing-attribute -->
|
||||
<img
|
||||
src={thumbnail_url}
|
||||
class="rounded-md max-h-[16rem] w-full aspect-[16/9] object-cover"
|
||||
class="rounded-md max-h-[16rem] w-full aspect-[16/9] object-cover bg-slate-200 dark:bg-zinc-800"
|
||||
width={600}
|
||||
height={400}
|
||||
/>
|
||||
<span
|
||||
class="w-full px-4 py-2 overflow-hidden
|
||||
whitespace-nowrap text-ellipsis text-sm group-hover:underline bg-slate-100 border
|
||||
dark:border-zinc-700
|
||||
dark:bg-zinc-800 absolute bottom-0 rounded-b-md flex flex-row gap-1 items-center h-10"
|
||||
class="w-full px-4 py-2 overflow-hidden whitespace-nowrap text-ellipsis
|
||||
text-sm group-hover:underline bg-slate-100 border dark:border-zinc-700
|
||||
dark:bg-zinc-800 absolute bottom-0 rounded-b-md flex flex-row gap-1
|
||||
items-center h-10"
|
||||
>
|
||||
<Icon src={Link} width={16} mini />
|
||||
{new URL(url).hostname}
|
||||
|
||||
Reference in new issue
Block a user