mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-23 11:46:28 +00:00
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:
@@ -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)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user