From 00701b7b42c4cc063ecdb59e7dd9e2c9eee7d743 Mon Sep 17 00:00:00 2001 From: Hossein Mehrabi Date: Fri, 23 Jun 2023 02:46:53 +0330 Subject: [PATCH] fix: link underline should only appear in hover state closes #75 --- .../client/theme/NavbarItem/NavbarNavLink/styles.module.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/logos-docusaurus-theme/src/client/theme/NavbarItem/NavbarNavLink/styles.module.css b/packages/logos-docusaurus-theme/src/client/theme/NavbarItem/NavbarNavLink/styles.module.css index 69e2894..23a6519 100644 --- a/packages/logos-docusaurus-theme/src/client/theme/NavbarItem/NavbarNavLink/styles.module.css +++ b/packages/logos-docusaurus-theme/src/client/theme/NavbarItem/NavbarNavLink/styles.module.css @@ -2,6 +2,10 @@ display: flex; align-items: center; gap: 6px; + text-decoration: none; +} + +.linkContent:hover { text-decoration: underline; text-underline-offset: 0.3rem; text-decoration-color: rgba(var(--lsd-text-primary), 0.6);