From 0e3ca3b15b83179212831e99be97ea97af990e2d Mon Sep 17 00:00:00 2001 From: adriangohjw Date: Sun, 29 Dec 2024 13:22:05 +0800 Subject: [PATCH] chore - do not wrap link text in span --- apps/studio/public/assets/css/preview-tw.css | 15 --------------- .../next/components/internal/Navbar/NavItem.tsx | 4 ++-- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/apps/studio/public/assets/css/preview-tw.css b/apps/studio/public/assets/css/preview-tw.css index ca673a2f7d..9033bdc0cd 100644 --- a/apps/studio/public/assets/css/preview-tw.css +++ b/apps/studio/public/assets/css/preview-tw.css @@ -1418,10 +1418,6 @@ video { -webkit-line-clamp: 3; } -.\!block { - display: block !important; -} - .block { display: block; } @@ -3156,11 +3152,6 @@ video { color: rgb(26 86 229 / var(--tw-text-opacity)); } -.text-link-hover { - --tw-text-opacity: 1; - color: rgb(21 71 190 / var(--tw-text-opacity)); -} - .text-site-secondary { --tw-text-opacity: 1; color: rgb(78 69 65 / var(--tw-text-opacity)); @@ -5510,12 +5501,6 @@ video { margin-top: 2.25rem; } -.\[\&\:not\(\:first-child\)\]\:first-of-type\:mt-7:first-of-type:not( - :first-child - ) { - margin-top: 1.75rem; -} - .\[\&\:not\(\:last-child\)\]\:mb-0:not(:last-child) { margin-bottom: 0px; } diff --git a/packages/components/src/templates/next/components/internal/Navbar/NavItem.tsx b/packages/components/src/templates/next/components/internal/Navbar/NavItem.tsx index 3a4575b51a..999d70f2ac 100644 --- a/packages/components/src/templates/next/components/internal/Navbar/NavItem.tsx +++ b/packages/components/src/templates/next/components/internal/Navbar/NavItem.tsx @@ -64,9 +64,9 @@ export const NavItem = forwardRef( isExternal={isExternalUrl(url)} showExternalIcon={isExternalUrl(url)} href={referenceLinkHref} - className={item({ isOpen })} + className={`${item({ isOpen })} ${groupFocusVisibleHighlight()}`} > - {name} + {name} )