From 67d04a9900786b5fbb312a3efc4d48c467e8cbbe Mon Sep 17 00:00:00 2001 From: Jean Ribeiro Date: Mon, 29 Apr 2024 17:18:23 -0300 Subject: [PATCH] refactor: removes duplicated css --- .../components/CollectionsGalleryItem.svelte | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/packages/desktop/views/dashboard/collectibles/components/CollectionsGalleryItem.svelte b/packages/desktop/views/dashboard/collectibles/components/CollectionsGalleryItem.svelte index 257865d78c..a2e42a5ee1 100644 --- a/packages/desktop/views/dashboard/collectibles/components/CollectionsGalleryItem.svelte +++ b/packages/desktop/views/dashboard/collectibles/components/CollectionsGalleryItem.svelte @@ -53,19 +53,19 @@ @apply bg-surface dark:bg-surface-dark; } - &::after { + &::after, + &::before { @apply content-[''] absolute block h-1.5 -top-2 left-0 right-0; - @apply rounded-t-2xl mx-2; - @apply border-t-2 border-x-2 border-solid border-stroke dark:border-stroke-dark; + @apply rounded-t-2xl border-t-2 border-x-2 border-solid border-stroke dark:border-stroke-dark; @apply bg-surface-1 dark:bg-surface-1-dark; } + &::after { + @apply -top-2 mx-2; + } + &::before { - @apply content-[''] absolute block h-1.5 -top-3.5 left-0 right-0; - @apply rounded-t-2xl mx-4; - @apply border-t-2 border-x-2 border-solid border-stroke dark:border-stroke-dark; - @apply bg-surface-1 dark:bg-surface-1-dark; - @apply blur-[1px]; + @apply -top-3.5 mx-4 blur-[1px]; } }