Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix: keep entity with everything layout static on hover (#1095)

gbirman9cad34ec59ca
diff --git a/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx b/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx
index cc864f13f5..dc7cf021a7 100644
--- a/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx
+++ b/js/app/packages/macro-entity/src/components/EntityWithEverything.tsx
@@ -1063,14 +1063,13 @@ export function EntityWithEverything(
>
{/* When the left checkbox column is hidden in narrow split containers, we still want
unread indicators to be visible. */}
- <Show
- when={
- props.showLeftColumnIndicator &&
- !props.checked &&
- !props.highlighted
- }
- >
- <div class="flex size-4 items-center justify-center @min-md/split:hidden">
+ <Show when={props.showLeftColumnIndicator && !props.checked}>
+ <div
+ class="flex size-4 items-center justify-center @min-md/split:hidden"
+ classList={{
+ invisible: props.highlighted,
+ }}
+ >
<UnreadIndicator active={props.unreadIndicatorActive} />
</div>
</Show>