From 4f168bcc914c88c60bbffb3e431d67cc4931d0a2 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sun, 7 Jul 2024 13:13:30 +0300 Subject: [PATCH] action-card: Fix one more extra border on mobile --- src/lib/components/action-card.svelte | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib/components/action-card.svelte b/src/lib/components/action-card.svelte index 5f75220..d6a544a 100644 --- a/src/lib/components/action-card.svelte +++ b/src/lib/components/action-card.svelte @@ -32,14 +32,10 @@ } @media (max-width: 919px) { - nav :global(ul li:nth-last-of-type(2)) { + nav :global(ul li:nth-child(2n+1):nth-last-of-type(2)) { border-bottom: unset; } - nav :global(ul li:not(:first-of-type):nth-last-of-type(2n)) { - border-bottom: 1px solid var(--action-card-border); - } - nav :global(ul li:nth-child(2n+1):last-of-type) { grid-column: 1 / 3; }