mirror of
https://github.com/zadam/trilium.git
synced 2026-02-26 16:43:36 +01:00
ui/list & grid view: add block margin for the bottom pager
This commit is contained in:
parent
8edf5483a6
commit
422bc00ade
@ -13,6 +13,10 @@
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.note-list-bottom-pager {
|
||||
margin-block: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
/* #region List view / Grid view common styles */
|
||||
|
||||
@ -33,7 +33,7 @@ export function ListView({ note, noteIds: unfilteredNoteIds, highlightedTokens }
|
||||
<div className="note-list list-view">
|
||||
<CollectionProperties
|
||||
note={note}
|
||||
centerChildren={<Pager {...pagination} />}
|
||||
centerChildren={<Pager className="note-list-top-pager" {...pagination} />}
|
||||
/>
|
||||
|
||||
{ noteIds.length > 0 && <div className="note-list-wrapper">
|
||||
@ -49,7 +49,7 @@ export function ListView({ note, noteIds: unfilteredNoteIds, highlightedTokens }
|
||||
))}
|
||||
</Card>
|
||||
|
||||
<Pager {...pagination} />
|
||||
<Pager className="note-list-bottom-pager" {...pagination} />
|
||||
</div>}
|
||||
</div>
|
||||
);
|
||||
@ -66,7 +66,7 @@ export function GridView({ note, noteIds: unfilteredNoteIds, highlightedTokens }
|
||||
<div className="note-list grid-view">
|
||||
<CollectionProperties
|
||||
note={note}
|
||||
centerChildren={<Pager {...pagination} />}
|
||||
centerChildren={<Pager className="note-list-top-pager" {...pagination} />}
|
||||
/>
|
||||
|
||||
<div className="note-list-wrapper">
|
||||
@ -82,7 +82,7 @@ export function GridView({ note, noteIds: unfilteredNoteIds, highlightedTokens }
|
||||
))}
|
||||
</div>
|
||||
|
||||
<Pager {...pagination} />
|
||||
<Pager className="note-list-bottom-pager" {...pagination} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user