mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-07 09:24:09 +00:00
feat(nav): add pulsing animation to local node status dot (#418)
* feat(nav): add pulsing animation to local node status dot Apply the same animate-ping pattern used by the notification bell badge to the local node context pill in the top header bar. The green dot now pulses to give a stronger "live connection" signal. * fix(nav): use animate-pulse instead of animate-ping for node status dot Switch the local node pill dot from the ping pattern (expanding ring) to animate-pulse for consistency with the remote node pill. Only the notification bell badge should use animate-ping.
This commit is contained in:
@@ -1730,7 +1730,7 @@ export default function EditorLayout() {
|
||||
</div>
|
||||
) : (
|
||||
<div className="flex items-center gap-2 px-3 py-1.5 rounded-full bg-muted/50 border border-border text-muted-foreground text-sm">
|
||||
<span className="w-2 h-2 rounded-full bg-success shrink-0" />
|
||||
<span className="w-2 h-2 rounded-full bg-success animate-pulse shrink-0" />
|
||||
{activeNode?.name ?? 'Local'}
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user