mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
centering icons in note book vertically
This commit is contained in:
parent
176784834f
commit
cb2b97635a
2
libraries/ckeditor/ckeditor.js
vendored
2
libraries/ckeditor/ckeditor.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -67,7 +67,10 @@ async function getRenderedContent(entity, options = {}) {
|
||||
else if (entity instanceof FNote) {
|
||||
$renderedContent.append(
|
||||
$("<div>")
|
||||
.css("text-align", "center")
|
||||
.css("display", "flex")
|
||||
.css("justify-content", "space-around")
|
||||
.css("align-items", "center")
|
||||
.css("height", "100%")
|
||||
.css("font-size", "500%")
|
||||
.append($("<span>").addClass(entity.getIcon()))
|
||||
);
|
||||
|
@ -66,6 +66,10 @@ const TPL = `
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.note-book-content .rendered-content {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.note-book-header {
|
||||
border-bottom: 1px solid var(--main-border-color);
|
||||
margin-bottom: 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user