Small refactor for user preferences
This commit is contained in:
parent
1a712fb7a9
commit
81d02b82dc
13 changed files with 202 additions and 112 deletions
|
|
@ -73,9 +73,10 @@ button {
|
|||
1fr;
|
||||
}
|
||||
|
||||
&.page-history {
|
||||
/* The other pages just gets the whole page without dividing it up. */
|
||||
&:not(.page-node) {
|
||||
grid-template-areas:
|
||||
"tree-expander tree pad1 n2-pagehistory pad2"
|
||||
"tree-expander tree pad1 n2-page pad2"
|
||||
;
|
||||
|
||||
grid-template-columns:
|
||||
|
|
@ -245,7 +246,6 @@ button {
|
|||
|
||||
#notes2 {
|
||||
&.page-node {
|
||||
|
||||
#page-root {
|
||||
display: none;
|
||||
}
|
||||
|
|
@ -260,7 +260,7 @@ button {
|
|||
display: contents;
|
||||
|
||||
n2-pagestorage {
|
||||
grid-area: content;
|
||||
grid-area: n2-page;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -268,9 +268,14 @@ button {
|
|||
&.page-history {
|
||||
#page-history {
|
||||
display: grid;
|
||||
grid-area: n2-pagehistory;
|
||||
grid-area: n2-page;
|
||||
}
|
||||
}
|
||||
|
||||
n2-pagehistory {}
|
||||
&.page-preferences {
|
||||
#page-preferences {
|
||||
display: grid !important;
|
||||
grid-area: n2-page;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -282,7 +287,6 @@ button {
|
|||
#page-root {
|
||||
display: contents !important;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue