Skip to content

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

fix: reintroducing heights with calc

Ilian Sapundshievd36ad6fce6c2
diff --git a/app/components/EntryContainerTitle.tsx b/app/components/EntryContainerTitle.tsx
index be506d9bb..46aa346c7 100644
--- a/app/components/EntryContainerTitle.tsx
+++ b/app/components/EntryContainerTitle.tsx
@@ -201,7 +201,8 @@ function EntryContainerTitle(props: Props) {
fontSize: 17,
marginLeft: 5,
maxHeight: 40,
- overflowY: 'auto'
+ overflowY: 'auto',
+ overflowX: 'hidden'
}}
>
{fileTitle}
diff --git a/app/components/PathBreadcrumbs.tsx b/app/components/PathBreadcrumbs.tsx
index f0d44e60e..87b191b07 100644
--- a/app/components/PathBreadcrumbs.tsx
+++ b/app/components/PathBreadcrumbs.tsx
@@ -214,8 +214,8 @@ function PathBreadcrumbs(props: Props) {
<>
<Breadcrumbs
sx={{ display: 'flex', flexWrap: 'nowrap' }}
- maxItems={isDesktopMode ? 3 : 1}
- itemsAfterCollapse={isDesktopMode ? 2 : 1}
+ maxItems={isDesktopMode ? 2 : 1}
+ itemsAfterCollapse={isDesktopMode ? 1 : 1}
itemsBeforeCollapse={isDesktopMode ? 1 : 0}
aria-label="breadcrumb"
separator={
diff --git a/app/perspectives/grid-perspective/components/MainContainer.tsx b/app/perspectives/grid-perspective/components/MainContainer.tsx
index eab0743ae..0e00ec172 100644
--- a/app/perspectives/grid-perspective/components/MainContainer.tsx
+++ b/app/perspectives/grid-perspective/components/MainContainer.tsx
@@ -734,7 +734,7 @@ function GridPerspective(props: Props) {
return (
<div
style={{
- height: '100%' //'calc(100% - 48px)'
+ height: 'calc(100% - 47px)'
}}
data-tid={defaultSettings.testID}
>
diff --git a/app/perspectives/list/components/MainContainer.tsx b/app/perspectives/list/components/MainContainer.tsx
index 04449edca..af64df405 100644
--- a/app/perspectives/list/components/MainContainer.tsx
+++ b/app/perspectives/list/components/MainContainer.tsx
@@ -734,7 +734,7 @@ function ListPerspective(props: Props) {
return (
<div
style={{
- height: '100%' //'calc(100% - 48px)'
+ height: 'calc(100% - 47px)'
}}
data-tid={defaultSettings.testID}
>