chore: update icon styles

This commit is contained in:
Steven 2023-09-30 02:06:30 +08:00
parent 952225d1da
commit de5eccf9d6

View file

@ -29,14 +29,14 @@ const FloatingNavButton = () => {
className="w-full text-left text-sm flex flex-row justify-center items-center whitespace-nowrap leading-6 py-1 px-3 cursor-pointer hover:bg-gray-100 dark:hover:bg-zinc-600"
onClick={handleScrollToTop}
>
<Icon.ArrowUpToLine strokeWidth={1} className="w-4 h-auto mr-1" />
<Icon.ArrowUpToLine className="w-4 h-auto mr-1 opacity-70" />
{t("router.back-to-top")}
</button>
<button
className="w-full text-left text-sm flex flex-row justify-center items-center whitespace-nowrap leading-6 py-1 px-3 cursor-pointer hover:bg-gray-100 dark:hover:bg-zinc-600"
onClick={() => navigateTo("/")}
>
<Icon.Home strokeWidth={1} className="w-4 h-auto mr-1" />
<Icon.Home className="w-4 h-auto mr-1 opacity-70" />
{t("router.go-to-home")}
</button>
</Menu>