🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
💄 style: drop the desktop title bar tint and lower the home nav header layer (#17854)
Innei4da0ed9f3dba
diff --git a/src/features/Electron/titlebar/TitleBar.tsx b/src/features/Electron/titlebar/TitleBar.tsxindex 1945afc0062..f1b4fb9f271 100644--- a/src/features/Electron/titlebar/TitleBar.tsx+++ b/src/features/Electron/titlebar/TitleBar.tsx@@ -1,7 +1,6 @@import { TITLE_BAR_HEIGHT } from '@lobechat/desktop-bridge';import { Flexbox } from '@lobehub/ui';import { Divider } from 'antd';-import { createStaticStyles, cx } from 'antd-style';import { memo } from 'react';import { electronStylish } from '@/styles/electron';@@ -18,20 +17,6 @@ import WinControl from './WinControl';const platform = getPlatform();-// A translucent tint rather than a solid color: the desktop body is deliberately-// semi-transparent for vibrancy, and an opaque titlebar would kill it. The tint only-// needs to push the bar a step away from the opaque content card so the attached-// active tab reads as part of the card.-const styles = createStaticStyles(({ css }) => ({- bar: css`- background-color: rgb(0 0 0 / 4%);-- html[data-theme='dark'] & {- background-color: rgb(0 0 0 / 20%);- }- `,-}));-const TitleBar = memo(() => {useWatchThemeUpdate();@@ -41,7 +26,7 @@ const TitleBar = memo(() => {<Flexboxhorizontalalign={'center'}- className={cx(electronStylish.draggable, styles.bar)}+ className={electronStylish.draggable}height={TITLE_BAR_HEIGHT}justify={'space-between'}style={{ minHeight: TITLE_BAR_HEIGHT, padding }}diff --git a/src/features/Home/HomeNavHeader.tsx b/src/features/Home/HomeNavHeader.tsxindex 1e80374ee04..02321f6908f 100644--- a/src/features/Home/HomeNavHeader.tsx+++ b/src/features/Home/HomeNavHeader.tsx@@ -14,7 +14,7 @@ import RailToggle from './RailToggle';const styles = createStaticStyles(({ css }) => ({header: css`position: absolute;- z-index: 10;+ z-index: 1;inset-block-start: 0;inset-inline: 0;`,