mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-19 17:55:19 +00:00
Add hover title to Workloads focused-label
When the Workloads summary band shows a focused workload name (e.g. "— delly"), the label uses `truncate` with no title, so a long workload name clips with no way to read the rest. Add a title attribute mirroring the rendered name so hovering reveals the full string.
This commit is contained in:
@@ -609,7 +609,11 @@ export const WorkloadsSummary: Component<WorkloadsSummaryProps> = (props) => {
|
||||
const focusedLabel = () => {
|
||||
const name = focusedWorkloadName();
|
||||
if (!name) return undefined;
|
||||
return <span class="text-xs text-muted ml-1.5 truncate">— {name}</span>;
|
||||
return (
|
||||
<span class="text-xs text-muted ml-1.5 truncate" title={name}>
|
||||
— {name}
|
||||
</span>
|
||||
);
|
||||
};
|
||||
const renderSyncedReadout = (
|
||||
readout: { empty?: boolean; timestamp: number; value: string } | null,
|
||||
|
||||
Reference in New Issue
Block a user