slighter gradient

This commit is contained in:
Daniel 2023-05-25 17:52:27 +03:30
parent d5d052b9b2
commit 0f5f93eaff
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ export default function ({ collection }: { collection: ExtendedCollection }) {
});
return (
<div className="p-5 bg-gradient-to-tr from-sky-100 self-stretch to-gray-100 min-h-[12rem] rounded-md cursor-pointer shadow duration-100 hover:shadow-none group">
<div className="p-5 bg-gradient-to-tr from-sky-100 from-10% via-gray-100 via-20% self-stretch min-h-[12rem] rounded-md cursor-pointer shadow duration-100 hover:shadow-none group">
<Link href={`/collections/${collection.id}`}>
<div className="flex flex-col gap-2 justify-between h-full">
<div>

View File

@ -194,7 +194,7 @@ export default function () {
})}
<div
className="p-5 bg-gradient-to-tr from-sky-100 self-stretch to-gray-100 min-h-[12rem] rounded-md cursor-pointer shadow duration-100 hover:shadow-none flex flex-col gap-4 justify-center items-center group"
className="p-5 self-stretch bg-gradient-to-tr from-sky-100 from-10% via-gray-100 via-20% min-h-[12rem] rounded-md cursor-pointer shadow duration-100 hover:shadow-none flex flex-col gap-4 justify-center items-center group"
onClick={toggleCollectionModal}
>
<p className="text-sky-900 group-hover:opacity-0 duration-100">