mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-20 18:56:20 +08:00
Fix line height
This commit is contained in:
parent
8d076d8c58
commit
0e17cde499
1 changed files with 21 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
||||||
height: 250px;
|
height: 250px;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: .5em;
|
padding: .5em;
|
||||||
|
--row-height: 36px;
|
||||||
|
|
||||||
.jstree-wholerow-hovered {
|
.jstree-wholerow-hovered {
|
||||||
background: $color-alto;
|
background: $color-alto;
|
||||||
|
@ -23,6 +24,26 @@
|
||||||
font-weight: unset;
|
font-weight: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.jstree-leaf {
|
||||||
|
height: var(--row-height);
|
||||||
|
|
||||||
|
.jstree-clicked {
|
||||||
|
height: var(--row-height);
|
||||||
|
}
|
||||||
|
|
||||||
|
.jstree-hovered {
|
||||||
|
height: var(--row-height);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.jstree-closed {
|
||||||
|
line-height: var(--row-height);
|
||||||
|
}
|
||||||
|
|
||||||
|
.jstree-open {
|
||||||
|
line-height: var(--row-height);
|
||||||
|
}
|
||||||
|
|
||||||
.jstree-icon {
|
.jstree-icon {
|
||||||
&.root-folder {
|
&.root-folder {
|
||||||
color: $color-volcano;
|
color: $color-volcano;
|
||||||
|
|
Loading…
Add table
Reference in a new issue