Skip to content

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

fix: scrolling issue in the left panels

Ilian Sapundshievf787c48e3d30
diff --git a/app/components/EntryProperties.tsx b/app/components/EntryProperties.tsx
index 32dab7370..c4fc74fb1 100644
--- a/app/components/EntryProperties.tsx
+++ b/app/components/EntryProperties.tsx
@@ -1113,7 +1113,7 @@ function EntryProperties(props: Props) {
value=""
style={{
marginTop: 13,
- minHeight: AppConfig.maxThumbSize + 20,
+ minHeight: thumbPath ? AppConfig.maxThumbSize + 20 : 20,
maxHeight: AppConfig.maxThumbSize + 20
}}
InputProps={{
@@ -1131,7 +1131,7 @@ function EntryProperties(props: Props) {
backgroundRepeat: 'no-repeat',
backgroundImage: thumbPathUrl,
backgroundPosition: 'center',
- minHeight: AppConfig.maxThumbSize,
+ minHeight: thumbPath ? AppConfig.maxThumbSize : 20,
maxHeight: AppConfig.maxThumbSize,
minWidth: AppConfig.maxThumbSize,
maxWidth: AppConfig.maxThumbSize,
diff --git a/app/components/MobileNavigation.tsx b/app/components/MobileNavigation.tsx
index e9433bab3..97be69a00 100644
--- a/app/components/MobileNavigation.tsx
+++ b/app/components/MobileNavigation.tsx
@@ -222,14 +222,14 @@ function MobileNavigation(props: Props) {
</Tooltip>
</ButtonGroup>
<LocationManager
- reduceHeightBy={180}
+ reduceHeightBy={170}
show={props.isLocationManagerPanelOpened}
/>
- {props.isTagLibraryPanelOpened && <TagLibrary reduceHeightBy={180} />}
- {props.isSearchPanelOpened && <StoredSearches reduceHeightBy={120} />}
+ {props.isTagLibraryPanelOpened && <TagLibrary reduceHeightBy={170} />}
+ {props.isSearchPanelOpened && <StoredSearches reduceHeightBy={170} />}
{props.isHelpFeedbackPanelOpened && (
<HelpFeedbackPanel
- reduceHeightBy={180}
+ reduceHeightBy={170}
openURLExternally={openURLExternally}
toggleAboutDialog={toggleAboutDialog}
toggleKeysDialog={toggleKeysDialog}
diff --git a/app/components/StoredSearches.tsx b/app/components/StoredSearches.tsx
index ce511d7cb..d156dde2e 100644
--- a/app/components/StoredSearches.tsx
+++ b/app/components/StoredSearches.tsx
@@ -510,7 +510,6 @@ function StoredSearches(props: Props) {
searchQuery={saveSearchDialogOpened}
/>
)}
- <div style={{ height: 40 }} />
</div>
<input
style={{ display: 'none' }}