diff --git a/frontend/src/components/NavItem/NavItem.module.css b/frontend/src/components/NavItem/NavItem.module.css index 931526021..005d4d308 100644 --- a/frontend/src/components/NavItem/NavItem.module.css +++ b/frontend/src/components/NavItem/NavItem.module.css @@ -30,6 +30,8 @@ .nav-item { display: flex; + align-items: center; + gap: var(--cpd-space-1x); padding: var(--cpd-space-1x) var(--cpd-space-2x); color: var(--cpd-color-text-secondary); diff --git a/frontend/src/routes/_account.module.css b/frontend/src/routes/_account.module.css new file mode 100644 index 000000000..693a9afce --- /dev/null +++ b/frontend/src/routes/_account.module.css @@ -0,0 +1,12 @@ +/* Copyright 2026 Element Creations Ltd. + * + * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial + * Please see LICENSE files in the repository root for full details. + */ + + +.nav-bar-error-icon { + display: inline-block; + + color: var(--cpd-color-icon-critical-primary); +} diff --git a/frontend/src/routes/_account.tsx b/frontend/src/routes/_account.tsx index 816494c78..4a6c3441e 100644 --- a/frontend/src/routes/_account.tsx +++ b/frontend/src/routes/_account.tsx @@ -16,6 +16,8 @@ import UserGreeting from "../components/UserGreeting"; import { graphql } from "../gql"; import { graphqlRequest } from "../graphql"; +import styles from "./_account.module.css"; + const QUERY = graphql(/* GraphQL */ ` query CurrentUserGreeting { viewer { @@ -66,7 +68,7 @@ function Account(): React.ReactElement { {t("frontend.nav.settings")} - {t("frontend.nav.devices")} + {t("frontend.nav.devices")} {planManagementIframeUri && ( {t("frontend.nav.plan")} )}