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 {
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue