mirror of
https://github.com/usememos/memos.git
synced 2025-11-11 01:41:58 +08:00
chore: update icon styles
This commit is contained in:
parent
952225d1da
commit
de5eccf9d6
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue