refac: styling

This commit is contained in:
Timothy Jaeryang Baek 2025-08-11 00:54:08 +04:00
parent 5941713b0c
commit 29447366d1
3 changed files with 3 additions and 3 deletions

View file

@ -147,7 +147,7 @@
<div class="mb-5 grid grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 gap-2">
{#each filteredItems as item}
<button
class=" flex space-x-4 cursor-pointer text-left w-full px-4 py-3 border border-gray-50 dark:border-gray-850 hover:bg-black/5 dark:hover:bg-white/5 transition rounded-xl"
class=" flex space-x-4 cursor-pointer text-left w-full px-4 py-3 border border-gray-50 dark:border-gray-850 hover:bg-black/5 dark:hover:bg-white/5 transition rounded-2xl"
on:click={() => {
if (item?.meta?.document) {
toast.error(

View file

@ -173,7 +173,7 @@
<div class="mb-5 gap-2 grid lg:grid-cols-2 xl:grid-cols-3">
{#each filteredItems as prompt}
<div
class=" flex space-x-4 cursor-pointer w-full px-4 py-3 border border-gray-50 dark:border-gray-850 dark:hover:bg-white/5 hover:bg-black/5 rounded-xl transition"
class=" flex space-x-4 cursor-pointer w-full px-4 py-3 border border-gray-50 dark:border-gray-850 dark:hover:bg-white/5 hover:bg-black/5 rounded-2xl transition"
>
<div class=" flex flex-1 space-x-4 cursor-pointer w-full">
<a href={`/workspace/prompts/edit?command=${encodeURIComponent(prompt.command)}`}>

View file

@ -259,7 +259,7 @@
<div class="mb-5 gap-2 grid lg:grid-cols-2 xl:grid-cols-3">
{#each filteredItems as tool}
<div
class=" flex space-x-4 cursor-pointer w-full px-4 py-3 border border-gray-50 dark:border-gray-850 dark:hover:bg-white/5 hover:bg-black/5 rounded-xl transition"
class=" flex space-x-4 cursor-pointer w-full px-4 py-3 border border-gray-50 dark:border-gray-850 dark:hover:bg-white/5 hover:bg-black/5 rounded-2xl transition"
>
<a
class=" flex flex-1 space-x-3.5 cursor-pointer w-full"