Skip to content

Commit fe2cc0c

Browse files
committed
fix: archive icon replaces diff count on hover
1 parent fbc8f6e commit fe2cc0c

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

packages/app/src/pages/layout.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,13 @@ export default function Layout(props: ParentProps) {
903903
<span class="text-14-regular text-text-strong grow-1 min-w-0 overflow-hidden text-ellipsis truncate">
904904
{props.session.title}
905905
</span>
906-
<Show when={props.session.summary}>{(summary) => <DiffChanges changes={summary()} />}</Show>
906+
<Show when={props.session.summary}>
907+
{(summary) => (
908+
<div class="group-hover/session:hidden group-active/session:hidden group-focus-within/session:hidden">
909+
<DiffChanges changes={summary()} />
910+
</div>
911+
)}
912+
</Show>
907913
</div>
908914
</A>
909915
</Tooltip>

0 commit comments

Comments
 (0)