From 90ed908d2e9ed21883cf9e40e56625cde5659d7e Mon Sep 17 00:00:00 2001 From: imikod Date: Mon, 8 Apr 2024 05:16:52 +0300 Subject: [PATCH] fix: set navigation icons to not shrink (#3186) --- web/src/components/Navigation.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/web/src/components/Navigation.tsx b/web/src/components/Navigation.tsx index 7fac1b12..6fcf8f30 100644 --- a/web/src/components/Navigation.tsx +++ b/web/src/components/Navigation.tsx @@ -52,31 +52,31 @@ const Navigation = (props: Props) => { id: "header-home", path: Routes.HOME, title: t("common.home"), - icon: , + icon: , }; const timelineNavLink: NavLinkItem = { id: "header-timeline", path: Routes.TIMELINE, title: t("timeline.title"), - icon: , + icon: , }; const resourcesNavLink: NavLinkItem = { id: "header-resources", path: Routes.RESOURCES, title: t("common.resources"), - icon: , + icon: , }; const exploreNavLink: NavLinkItem = { id: "header-explore", path: Routes.EXPLORE, title: t("common.explore"), - icon: , + icon: , }; const profileNavLink: NavLinkItem = { id: "header-profile", path: user ? `/u/${encodeURIComponent(user.username)}` : "", title: t("common.profile"), - icon: , + icon: , }; const inboxNavLink: NavLinkItem = { id: "header-inbox", @@ -85,7 +85,7 @@ const Navigation = (props: Props) => { icon: ( <>
- + {hasUnreadInbox &&
}
@@ -95,25 +95,25 @@ const Navigation = (props: Props) => { id: "header-archived", path: Routes.ARCHIVED, title: t("common.archived"), - icon: , + icon: , }; const settingNavLink: NavLinkItem = { id: "header-setting", path: Routes.SETTING, title: t("common.settings"), - icon: , + icon: , }; const signInNavLink: NavLinkItem = { id: "header-auth", path: Routes.AUTH, title: t("common.sign-in"), - icon: , + icon: , }; const aboutNavLink: NavLinkItem = { id: "header-about", path: Routes.ABOUT, title: t("common.about"), - icon: , + icon: , }; const navLinks: NavLinkItem[] = user