Moved full-page management to separate class
This commit is contained in:
parent
12f8c019f0
commit
4ffb6e3a11
2 changed files with 45 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ html {
|
||||||
|
|
||||||
n2-tree {
|
n2-tree {
|
||||||
.el-treenodes {
|
.el-treenodes {
|
||||||
margin: 32px;
|
margin: 24px 32px 32px 32px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -470,3 +470,46 @@ dialog.op {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* ------------------------------------------- *
|
||||||
|
* Whole page is 100vh with scrolling sections *
|
||||||
|
* ------------------------------------------- */
|
||||||
|
#app.full-height {
|
||||||
|
#notes2 {
|
||||||
|
height: 100vh;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#tree {
|
||||||
|
n2-tree {
|
||||||
|
.el-treenodes {
|
||||||
|
height: calc(100vh - 64px - 64px);
|
||||||
|
margin: 0px;
|
||||||
|
padding: 12px 32px 32px 32px;
|
||||||
|
overflow-y: auto;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
n2-nodeui {
|
||||||
|
.el-node-markdown {
|
||||||
|
overflow-y: scroll;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
scrollbar-width: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -82,7 +82,7 @@ export class N2Tree extends CustomHTMLElement {
|
||||||
.icons {
|
.icons {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 16px 0px 32px 0px;
|
margin-top: 16px;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
padding-bottom: 16px;
|
padding-bottom: 16px;
|
||||||
border-bottom: 1px solid var(--line-color);
|
border-bottom: 1px solid var(--line-color);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue