Skip to content

🀯 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.

πŸ’„ style(home): frost the customize button and align task-mode section headers (#18429)

Innei6f2975e15c2d
diff --git a/src/features/Home/CustomizeButton.tsx b/src/features/Home/CustomizeButton.tsx
index d93b7fde4ff..47a9d5d18b1 100644
--- a/src/features/Home/CustomizeButton.tsx
+++ b/src/features/Home/CustomizeButton.tsx
@@ -8,6 +8,11 @@ import { useTranslation } from 'react-i18next';
import { openHomeCustomizeModal } from './CustomizeModal';
const styles = createStaticStyles(({ css }) => ({
+ // Floats in the page corner where the portrait can stand behind it β€” frost
+ // what shows through, like the rail cards do.
+ glass: css`
+ backdrop-filter: saturate(150%) blur(12px);
+ `,
label: css`
@media (width <= 1100px) {
display: none;
@@ -22,6 +27,7 @@ const CustomizeButton = memo(() => {
return (
<Button
aria-label={label}
+ className={styles.glass}
icon={<Icon icon={SlidersHorizontal} size={14} />}
shape={'round'}
size={'small'}
diff --git a/src/features/Home/HomeModeContent.tsx b/src/features/Home/HomeModeContent.tsx
index 0ab7d986bfa..fbab02a2e26 100644
--- a/src/features/Home/HomeModeContent.tsx
+++ b/src/features/Home/HomeModeContent.tsx
@@ -602,11 +602,11 @@ const HomeModeContent = memo<HomeModeContentProps>(({ inlineRail, mode, onSugges
// will happen without me" β€” the second question only makes sense after the
// first, so it always sits underneath.
//
- // The inline padding keeps the lists from running edge-to-edge with the
- // composer above: rows carry a -10px hover overhang (see `rowBox`), so
- // without it the hover pill would reach past the column bounds.
+ // No inline inset: section headers sit flush with the composer edge and the
+ // folded-in inbox sections above, exactly like chat mode β€” row hover pills
+ // overhang by design (see `rowBox`).
const taskBlocks = (
- <Flexbox gap={32} paddingInline={12}>
+ <Flexbox gap={32}>
{!tasksHidden && <TaskContent />}
{!scheduledTasksHidden && <ScheduledTaskContent />}
</Flexbox>