mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
Polish header: make auto-refresh indicator icon-only
- Removed 'Auto-refreshing' text, kept pulsing blue dot - Added tooltip and aria-label for accessibility - Cleaner, more compact header design
This commit is contained in:
parent
e03e89e76a
commit
3d26291d6d
1 changed files with 1 additions and 4 deletions
|
|
@ -67,10 +67,7 @@ export function MachineConnection({
|
||||||
<h2 className="text-xl font-semibold">Machine Connection</h2>
|
<h2 className="text-xl font-semibold">Machine Connection</h2>
|
||||||
<div className="flex items-center gap-3">
|
<div className="flex items-center gap-3">
|
||||||
{isConnected && isPolling && (
|
{isConnected && isPolling && (
|
||||||
<span className="flex items-center gap-2 text-xs text-gray-500">
|
<span className="w-2 h-2 bg-blue-500 rounded-full animate-pulse" title="Auto-refreshing" aria-label="Auto-refreshing machine status"></span>
|
||||||
<span className="w-2 h-2 bg-blue-500 rounded-full animate-pulse"></span>
|
|
||||||
Auto-refreshing
|
|
||||||
</span>
|
|
||||||
)}
|
)}
|
||||||
{isConnected && (
|
{isConnected && (
|
||||||
<button
|
<button
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue