Style remove button to match port label bubble
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -312,7 +312,7 @@ export function createNodeElement(node, switchConnection, nodeLocation, uplinkIn
|
||||
if (!removeBtn) {
|
||||
removeBtn = document.createElement('button');
|
||||
removeBtn.className = 'remove-node-btn';
|
||||
removeBtn.textContent = '×';
|
||||
removeBtn.textContent = 'X';
|
||||
removeBtn.title = 'Remove node';
|
||||
removeBtn.addEventListener('click', (e) => {
|
||||
e.stopPropagation();
|
||||
|
||||
@@ -300,7 +300,7 @@ export function renderNetworkTable() {
|
||||
html += '<td class="' + statusClass + '">' + r.status + '</td>';
|
||||
html += '<td>';
|
||||
if (r.removable) {
|
||||
html += '<button class="remove-node-btn" data-node-id="' + escapeHtml(r.nodeId) + '" title="Remove node">×</button>';
|
||||
html += '<button class="remove-node-btn" data-node-id="' + escapeHtml(r.nodeId) + '" title="Remove node">X</button>';
|
||||
}
|
||||
html += '</td>';
|
||||
html += '</tr>';
|
||||
|
||||
Reference in New Issue
Block a user