Skip to content

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

fix: set max height of the description to 400px, enable scrolling

Ilian Sapundshieve215cbbdd7cd
diff --git a/app/components/EntryProperties.tsx b/app/components/EntryProperties.tsx
index 489ac47c1..1aaeaeb05 100644
--- a/app/components/EntryProperties.tsx
+++ b/app/components/EntryProperties.tsx
@@ -833,6 +833,8 @@ const EntryProperties = (props: Props) => {
style={{
padding: 10,
borderRadius: 5,
+ maxHeight: 400,
+ overflow: 'auto',
backgroundColor: 'rgba(255, 216, 115, 0.20)'
}}
id="textarea"
@@ -865,7 +867,8 @@ const EntryProperties = (props: Props) => {
borderRadius: 5,
backgroundColor: 'rgba(255, 216, 115, 0.20)',
marginBottom: 5,
-
+ maxHeight: 400,
+ overflow: 'auto',
color: currentEntry.description
? theme.palette.text.primary
: theme.palette.text.disabled