Skip to content

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

feat: increasing the size of the thumbnail in the entry properties

Ilian Sapundshieve890af9d847c
diff --git a/app/components/EntryProperties.tsx b/app/components/EntryProperties.tsx
index 6f60169c4..f27a66da2 100644
--- a/app/components/EntryProperties.tsx
+++ b/app/components/EntryProperties.tsx
@@ -1275,11 +1275,13 @@ const EntryProperties = (props: Props) => {
role="button"
tabIndex={0}
style={{
- backgroundSize: 'cover',
+ backgroundSize: 'contain',
+ backgroundRepeat: 'no-repeat',
backgroundImage: thumbPathUrl,
backgroundPosition: 'center',
- height: 100,
- width: 100,
+ minHeight: AppConfig.maxThumbSize,
+ maxHeight: AppConfig.maxThumbSize,
+ maxWidth: AppConfig.maxThumbSize,
display: 'block',
marginBottom: 5
}}