From 0bb5b6a1a71a8311352ed3c907c9e14aa2002eb7 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Sat, 21 Sep 2024 11:21:20 +0800 Subject: [PATCH] :bug: space between dropdown and navbar button --- packages/theme-nonepress/src/theme/NavbarItem/styles.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/theme-nonepress/src/theme/NavbarItem/styles.css b/packages/theme-nonepress/src/theme/NavbarItem/styles.css index 1325e8b..355487a 100644 --- a/packages/theme-nonepress/src/theme/NavbarItem/styles.css +++ b/packages/theme-nonepress/src/theme/NavbarItem/styles.css @@ -1,4 +1,8 @@ .navbar { + & .dropdown-content { + @apply mt-1; + } + /* dropdown */ &-dropdown { &-icon { @@ -14,7 +18,7 @@ /* docs menu */ &-docs-menu { &-content { - @apply block w-[28rem] xl:w-[36rem] 2xl:w-[48rem] !m-0 !p-0 overflow-hidden whitespace-normal; + @apply block w-[28rem] xl:w-[36rem] 2xl:w-[48rem] pl-0 overflow-hidden whitespace-normal; &::before { @apply content-none;