mirror of
https://github.com/zadam/trilium.git
synced 2026-02-26 16:43:36 +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;
|
||||
}
|
||||
|
||||
$renderedContent.css("padding", "10px");
|
||||
$renderedContent.addClass("text-with-ellipsis");
|
||||
|
||||
// just load the first 10 child notes
|
||||
|
||||
@ -278,7 +278,7 @@
|
||||
padding-bottom: .5rem;
|
||||
word-break: break-all;
|
||||
flex-shrink: 0;
|
||||
padding: .5em 1em;
|
||||
padding: .5rem 1rem;
|
||||
padding-inline-end: 8px;
|
||||
border-bottom-color: var(--card-border-color);
|
||||
|
||||
@ -377,8 +377,9 @@ body.mobile .note-list.grid-view .note-book-card {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
.rendered-content {
|
||||
padding: 1rem;
|
||||
.rendered-content,
|
||||
.rendered-content.text-with-ellipsis {
|
||||
padding: .5rem 1rem 1rem 1rem;
|
||||
}
|
||||
|
||||
&.type-image .rendered-content,
|
||||
@ -386,10 +387,6 @@ body.mobile .note-list.grid-view .note-book-card {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.rendered-content.text-with-ellipsis {
|
||||
padding: 1rem !important;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-size: 1rem;
|
||||
color: var(--active-item-text-color);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user