mirror of
https://github.com/zadam/trilium.git
synced 2025-02-23 22:44:44 +08:00
children overview styling
This commit is contained in:
parent
b0c6d52461
commit
3d15450ffc
2 changed files with 10 additions and 2 deletions
|
@ -24,6 +24,10 @@ class NoteShort {
|
||||||
}
|
}
|
||||||
|
|
||||||
async getChildBranches() {
|
async getChildBranches() {
|
||||||
|
if (!this.treeCache.children) {
|
||||||
|
return [];
|
||||||
|
}
|
||||||
|
|
||||||
const branches = [];
|
const branches = [];
|
||||||
|
|
||||||
for (const child of this.treeCache.children[this.noteId]) {
|
for (const child of this.treeCache.children[this.noteId]) {
|
||||||
|
|
|
@ -298,11 +298,15 @@ div.ui-tooltip {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: large;
|
font-size: large;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
border: 1px solid black;
|
background: #f4f4f4;
|
||||||
width: 150px;
|
width: 150px;
|
||||||
height: 95px;
|
height: 95px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
margin-bottom: 20px;
|
|
||||||
border-radius: 15px;
|
border-radius: 15px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.child-overview a {
|
||||||
|
color: #444;
|
||||||
}
|
}
|
Loading…
Reference in a new issue