Skip to content

Commit d3baaf7

Browse files
committed
fix: shrink project notification dot and mask
1 parent 0384e6b commit d3baaf7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/app/src/pages/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ export default function Layout(props: ParentProps) {
10181018
const notifications = createMemo(() => notification.project.unseen(props.project.worktree))
10191019
const hasError = createMemo(() => notifications().some((n) => n.type === "error"))
10201020
const name = createMemo(() => props.project.name || getFilename(props.project.worktree))
1021-
const mask = "radial-gradient(circle 6px at calc(100% - 5px) 5px, transparent 6px, black 6.5px)"
1021+
const mask = "radial-gradient(circle 5px at calc(100% - 4px) 4px, transparent 5px, black 5.5px)"
10221022
const opencode = "4b0ea68d7af9a6031a7ffda7ad66e0cb83315750"
10231023

10241024
return (
@@ -1039,7 +1039,7 @@ export default function Layout(props: ParentProps) {
10391039
<Show when={notifications().length > 0 && props.notify}>
10401040
<div
10411041
classList={{
1042-
"absolute top-px right-px size-2 rounded-full z-10": true,
1042+
"absolute top-px right-px size-1.5 rounded-full z-10": true,
10431043
"bg-icon-critical-base": hasError(),
10441044
"bg-text-interactive-base": !hasError(),
10451045
}}

0 commit comments

Comments
 (0)