mirror of
https://github.com/zadam/trilium.git
synced 2026-03-06 17:00:11 +01:00
ui/grid view card: tweak layout
This commit is contained in:
parent
a4a3d6a82c
commit
eaf0c690e1
@ -120,7 +120,6 @@ async function renderChildrenList($renderedContent: JQuery<HTMLElement>, note: F
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$renderedContent.css("padding", "10px");
|
|
||||||
$renderedContent.addClass("text-with-ellipsis");
|
$renderedContent.addClass("text-with-ellipsis");
|
||||||
|
|
||||||
// just load the first 10 child notes
|
// just load the first 10 child notes
|
||||||
|
|||||||
@ -278,7 +278,7 @@
|
|||||||
padding-bottom: .5rem;
|
padding-bottom: .5rem;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
padding: .5em 1em;
|
padding: .5rem 1rem;
|
||||||
padding-inline-end: 8px;
|
padding-inline-end: 8px;
|
||||||
border-bottom-color: var(--card-border-color);
|
border-bottom-color: var(--card-border-color);
|
||||||
|
|
||||||
@ -377,8 +377,9 @@ body.mobile .note-list.grid-view .note-book-card {
|
|||||||
width: 25%;
|
width: 25%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rendered-content {
|
.rendered-content,
|
||||||
padding: 1rem;
|
.rendered-content.text-with-ellipsis {
|
||||||
|
padding: .5rem 1rem 1rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.type-image .rendered-content,
|
&.type-image .rendered-content,
|
||||||
@ -386,10 +387,6 @@ body.mobile .note-list.grid-view .note-book-card {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rendered-content.text-with-ellipsis {
|
|
||||||
padding: 1rem !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: var(--active-item-text-color);
|
color: var(--active-item-text-color);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user