fix: ensure consistent blue border color for selected nodes

- Made border color consistent across light/dark modes (always blue-500)
- Added transparent border to unselected rows to prevent layout shift
- This ensures all selected rows show the same blue indicator
This commit is contained in:
Pulse Monitor
2025-08-29 14:08:18 +00:00
parent ff5bdd6705
commit 40187e4284
@@ -175,8 +175,8 @@ export const NodeSummaryTable: Component<NodeSummaryTableProps> = (props) => {
<tr
class={`hover:bg-gray-50 dark:hover:bg-gray-700/30 cursor-pointer transition-colors ${
isSelected()
? 'bg-blue-50 dark:bg-blue-900/20 border-l-4 border-l-blue-500 dark:border-l-blue-400'
: ''
? 'bg-blue-50 dark:bg-blue-900/20 border-l-4 border-l-blue-500 dark:border-l-blue-500'
: 'border-l-4 border-l-transparent'
}`}
onClick={() => props.onNodeClick(nodeId, item.type)}
>