diff --git a/frontend/web/src/components/Header.tsx b/frontend/web/src/components/Header.tsx index e250b3c..0b2f712 100644 --- a/frontend/web/src/components/Header.tsx +++ b/frontend/web/src/components/Header.tsx @@ -43,7 +43,7 @@ const Header: React.FC = () => { )} {shouldShowRouterSwitch && ( <> - / + / @@ -51,20 +51,20 @@ const Header: React.FC = () => { } - actionsClassName="!w-36 -left-4" + actionsClassName="!w-32 -left-4 text-sm" actions={ <> - Shortcuts + Shortcuts - Collections + Collections } @@ -81,34 +81,34 @@ const Header: React.FC = () => { } - actionsClassName="!w-32" + actionsClassName="!w-32 text-sm" actions={ <> - {t("user.profile")} + {t("user.profile")} {isAdmin && ( - {t("settings.self")} + {t("settings.self")} )} } diff --git a/frontend/web/src/components/ShortcutActionsDropdown.tsx b/frontend/web/src/components/ShortcutActionsDropdown.tsx index 482e2ea..fdc81f6 100644 --- a/frontend/web/src/components/ShortcutActionsDropdown.tsx +++ b/frontend/web/src/components/ShortcutActionsDropdown.tsx @@ -43,7 +43,7 @@ const ShortcutActionsDropdown = (props: Props) => { return ( <> {havePermission && ( @@ -51,20 +51,20 @@ const ShortcutActionsDropdown = (props: Props) => { className="w-full px-2 flex flex-row justify-start items-center text-left leading-8 cursor-pointer rounded hover:bg-gray-100 disabled:cursor-not-allowed disabled:bg-gray-100 disabled:opacity-60 dark:hover:bg-zinc-800" onClick={() => setShowEditDrawer(true)} > - {t("common.edit")} + {t("common.edit")} )} {havePermission && ( )} diff --git a/frontend/web/src/components/ShortcutCard.tsx b/frontend/web/src/components/ShortcutCard.tsx index a0b5a5f..3057069 100644 --- a/frontend/web/src/components/ShortcutCard.tsx +++ b/frontend/web/src/components/ShortcutCard.tsx @@ -103,7 +103,7 @@ const ShortcutCard = (props: Props) => { })} {shortcut.tags.length === 0 && No tags} -
+
{ arrow >
viewStore.setFilter({ visibility: shortcut.visibility })} > - + {t(`shortcut.visibility.${convertVisibilityFromPb(shortcut.visibility).toLowerCase()}.self`)}
- + {t("shortcut.visits", { count: shortcut.viewCount })} diff --git a/frontend/web/src/pages/ShortcutDetail.tsx b/frontend/web/src/pages/ShortcutDetail.tsx index 4325ff8..e91ea06 100644 --- a/frontend/web/src/pages/ShortcutDetail.tsx +++ b/frontend/web/src/pages/ShortcutDetail.tsx @@ -78,7 +78,7 @@ const ShortcutDetail = () => { return ( <>
-
+
{favicon ? ( ) : ( @@ -156,8 +156,8 @@ const ShortcutDetail = () => { > )}
- {shortcut.description &&

{shortcut.description}

} -
+ {shortcut.description &&

{shortcut.description}

} +
{shortcut.tags.map((tag) => { return (