Skip to content

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

fix: ui issues in folder container

Ilian Sapundshiev735a7f3e4c3a
diff --git a/app/components/FolderContainer.tsx b/app/components/FolderContainer.tsx
index 5a2518937..c4c776868 100644
--- a/app/components/FolderContainer.tsx
+++ b/app/components/FolderContainer.tsx
@@ -470,7 +470,7 @@ function FolderContainer(props: Props) {
width: '100%',
height: '100%',
maxHeight: '100%',
- overflow: 'hidden',
+ overflow: 'unset',
backgroundColor: theme.palette.background.default,
display: 'flex',
flexDirection: 'column'
@@ -479,6 +479,7 @@ function FolderContainer(props: Props) {
<div
style={{
paddingLeft: 5,
+ paddingRight: 5,
display: 'flex',
//overflowY: 'hidden',
alignItems: 'center'
diff --git a/app/components/PathBreadcrumbs.tsx b/app/components/PathBreadcrumbs.tsx
index 87b191b07..d1da714b7 100644
--- a/app/components/PathBreadcrumbs.tsx
+++ b/app/components/PathBreadcrumbs.tsx
@@ -213,7 +213,13 @@ function PathBreadcrumbs(props: Props) {
return (
<>
<Breadcrumbs
- sx={{ display: 'flex', flexWrap: 'nowrap' }}
+ style={{
+ minWidth: 100,
+ maxWidth: '100%',
+ display: 'flex',
+ flexWrap: 'nowrap',
+ flexDirection: 'row-reverse'
+ }}
maxItems={isDesktopMode ? 2 : 1}
itemsAfterCollapse={isDesktopMode ? 1 : 1}
itemsBeforeCollapse={isDesktopMode ? 1 : 0}