Tree focus

This commit is contained in:
Magnus Åhall 2026-05-20 18:28:16 +02:00
parent 5a0340c226
commit 45cbd49345
4 changed files with 68 additions and 9 deletions

View file

@ -2,6 +2,8 @@
:root {
--content-width: 900px;
--thumbnail-width: 300px;
--thumbnail-height: 100px;
}
html {
@ -55,10 +57,18 @@ html {
z-index: 100;
border-left: 2px solid #333;
&:focus {
border-left: 2px solid #fe5f55;
n2-tree {
border: 2px solid #333;
}
&:focus-within {
n2-tree {
border: 2px solid #fe5f55;
}
}
#logo {
display: grid;
position: relative;
@ -315,6 +325,7 @@ n2-nodeui {
.el-node-content {
display: none;
}
.el-node-markdown {
display: block;
}