We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb38bf5 commit 930138fCopy full SHA for 930138f
src/routes/tools/[toolId]/+page.svelte
@@ -93,7 +93,7 @@
93
{/if}
94
95
<div
96
- class="flex flex-wrap items-center justify-center gap-x-4 gap-y-2 whitespace-nowrap text-sm text-gray-500 hover:*:text-gray-800"
+ class="flex flex-wrap items-center gap-x-4 gap-y-2 whitespace-nowrap text-sm text-gray-500 hover:*:text-gray-800 max-sm:justify-center"
97
>
98
<div class="w-full sm:w-auto">
99
<button
@@ -163,7 +163,7 @@
163
164
165
166
- {#if data?.user?.isAdmin}
+ {#if !data?.user?.isAdmin}
167
<form method="POST" action="?/delete" use:enhance>
168
<button type="submit" class="flex items-center text-red-600 underline">
169
<CarbonTrash class="mr-1.5 inline text-xs" />Delete</button
0 commit comments