Fixed selected node highlighting

This commit is contained in:
Magnus Åhall 2026-06-16 08:53:15 +02:00
parent d1c3b9e963
commit 86fcbbb68f

View file

@ -481,7 +481,9 @@ export class N2TreeNode extends CustomHTMLElement {
this.tmpl.innerHTML = `
<style>
n2-sidebar:focus-within {
& > .el-name {
n2-specialnodedeleted > .el-name,
n2-specialnodeorphaned > .el-name,
n2-treenode > .el-name {
&.selected {
span {
position:relative;