mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix css of node help table of contents elements
This commit is contained in:
parent
8a63390464
commit
bc17ebd90e
@ -231,7 +231,7 @@ RED.sidebar.help = (function() {
|
||||
|
||||
function getNodeLabel(n) {
|
||||
var div = $('<div>',{class:"red-ui-node-list-item"});
|
||||
RED.utils.createNodeIcon(n).appendTo(div);
|
||||
var icon = RED.utils.createNodeIcon(n).appendTo(div);
|
||||
var label = n.name;
|
||||
if (!label && n._def.paletteLabel) {
|
||||
try {
|
||||
@ -240,7 +240,7 @@ RED.sidebar.help = (function() {
|
||||
}
|
||||
}
|
||||
label = label || n.type;
|
||||
$('<div>',{class:"red-ui-node-label"}).text(n.name||n.type).appendTo(div);
|
||||
$('<div>',{class:"red-ui-node-label"}).text(n.name||n.type).appendTo(icon);
|
||||
return div;
|
||||
}
|
||||
|
||||
|
@ -267,7 +267,7 @@
|
||||
}
|
||||
}
|
||||
.red-ui-node-icon-container {
|
||||
display: flex;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
}
|
||||
.red-ui-node-icon-container.red-ui-node-icon-small {
|
||||
|
Loading…
Reference in New Issue
Block a user