chore: update icon styles

pull/2323/head
Steven 2 years ago
parent 952225d1da
commit de5eccf9d6

@ -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" 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} 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")} {t("router.back-to-top")}
</button> </button>
<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" 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("/")} 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")} {t("router.go-to-home")}
</button> </button>
</Menu> </Menu>

Loading…
Cancel
Save