diff --git a/src/components/ContentArea.tsx b/src/components/ContentArea.tsx index 9cbda15..ee0bcd9 100644 --- a/src/components/ContentArea.tsx +++ b/src/components/ContentArea.tsx @@ -100,6 +100,7 @@ export function ContentArea({ : t("permissions.view")} ) + const useFloatingSidebarToggle = floatingExpand && sidebarCollapsed return ( diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index 9693460..022ace7 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -194,51 +194,53 @@ export function Sidebar({ const renderSidebarBody = (isCollapsedView: boolean, hideMenu = false) => ( <> -
- logo - {!isCollapsedView && ( - <> -

- SecScore -

-
- {t("settings.about.appName")} -
- - )} -
+ {!(isCollapsedView && floatingExpand && collapsed) && ( +
+ logo + {!isCollapsedView && ( + <> +

+ SecScore +

+
+ {t("settings.about.appName")} +
+ + )} +
+ )} {!hideMenu && (
@@ -352,7 +354,10 @@ export function Sidebar({ top: 0, bottom: 0, width: "200px", - background: "var(--ss-sidebar-bg)", + background: + "linear-gradient(0deg, rgba(250, 250, 250, 0.72), rgba(250, 250, 250, 0.72)), var(--ss-sidebar-bg)", + backdropFilter: "blur(14px)", + WebkitBackdropFilter: "blur(14px)", borderRight: "1px solid var(--ss-border-color)", boxShadow: "6px 0 18px rgba(0, 0, 0, 0.12)", zIndex: 1200,