Skip to content

TagSpaces is an offline, open source, document manager with tagging support

chore: make folder thumbnail contain

Ilian Sapundshievf4f305fa8e71
diff --git a/app/perspectives/grid-perspective/components/GridPagination.tsx b/app/perspectives/grid-perspective/components/GridPagination.tsx
index 6080de6b2..7ef2ea367 100644
--- a/app/perspectives/grid-perspective/components/GridPagination.tsx
+++ b/app/perspectives/grid-perspective/components/GridPagination.tsx
@@ -509,13 +509,13 @@ function GridPagination(props: Props) {
<Tooltip title={i18n.t('core:thumbnail')}>
<div
style={{
- borderRadius: 8,
+ // borderRadius: 8,
height: 140,
width: 140,
backgroundImage: 'url("' + folderTmbPath.current + '")',
- backgroundSize: 'cover',
+ backgroundSize: 'contain', // cover
backgroundRepeat: 'no-repeat',
- backgroundPosition: 'center center',
+ backgroundPosition: 'top center',
position: 'absolute',
top: 0,
right: 0