fixed prose-darkmode issue

This commit is contained in:
somrat sorkar
2023-12-26 09:07:55 +06:00
parent 65f9ec6779
commit bd1dd7dd02
5 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -119,13 +119,13 @@ const { pathname } = Astro.url;
<div class="order-1 ml-auto flex items-center md:order-2 lg:ml-0">
{
settings.search && (
<span
class="mr-5 inline-block border-r border-border pr-5 text-xl text-dark hover:text-primary dark:border-darkmode-border dark:text-white cursor-pointer"
<button
class="border-border text-dark hover:text-primary dark:border-darkmode-border mr-5 inline-block border-r pr-5 text-xl dark:text-white dark:hover:text-darkmode-primary"
aria-label="search"
data-search-trigger
>
<IoSearch />
</span>
</button>
)
}
<ThemeSwitcher className="mr-5" />