TagSpaces is an offline, open source, document manager with tagging support
chore: fixing ui glitches in connection with ne themes
Ilian Sapundshiev1b63643c91b9
diff --git a/src/renderer/assets/rc-table.css b/src/renderer/assets/rc-table.cssindex 2aa07dc55..cbca11a4a 100644--- a/src/renderer/assets/rc-table.css+++ b/src/renderer/assets/rc-table.css@@ -8,7 +8,7 @@.rc-table-cell:hover {border-radius: 5px;- background-color: #dcf3ec !important;+ background-color: #dcf3ec88 !important;}.rc-table td {diff --git a/src/renderer/components/DirectoryTreeView.tsx b/src/renderer/components/DirectoryTreeView.tsxindex 0a7719693..5654ebf3e 100644--- a/src/renderer/components/DirectoryTreeView.tsx+++ b/src/renderer/components/DirectoryTreeView.tsx@@ -27,7 +27,7 @@ import { useDirectoryContentContext } from '-/hooks/useDirectoryContentContext';import { getShowUnixHiddenEntries } from '-/reducers/settings';import { resolveRelativePath } from '-/services/utils-io';import { TS } from '-/tagspaces.namespace';-import { Box } from '@mui/material';+import { Box, Typography } from '@mui/material';import { alpha, useTheme } from '@mui/material/styles';import { locationType } from '@tagspaces/tagspaces-common/misc';import { cleanTrailingDirSeparator } from '@tagspaces/tagspaces-common/paths';@@ -195,9 +195,14 @@ const DirectoryTreeView = forwardRef(marginRight: '6px',marginBottom: '-8px',display: 'inline-block',+ color: theme.palette.text.primary,}}/>- {field.length > 25 ? field.substr(0, 25) + '...' : field}+ <Typography+ sx={{ color: theme.palette.text.primary, display: 'inline' }}+ >+ {field.length > 25 ? field.substr(0, 25) + '...' : field}+ </Typography></Box>);return { children, props: {} };diff --git a/src/renderer/components/LocationView.tsx b/src/renderer/components/LocationView.tsxindex b17beba5e..34fe655be 100644--- a/src/renderer/components/LocationView.tsx+++ b/src/renderer/components/LocationView.tsx@@ -297,6 +297,7 @@ function LocationView(props: Props) {paddingLeft: '5px',paddingRight: 0,height: '100%',+ overflowX: 'hidden',}}><TargetFileBoxdiff --git a/src/renderer/components/TagGroupTitleDnD.tsx b/src/renderer/components/TagGroupTitleDnD.tsxindex f38d9dd9f..b96983afb 100644--- a/src/renderer/components/TagGroupTitleDnD.tsx+++ b/src/renderer/components/TagGroupTitleDnD.tsx@@ -153,7 +153,7 @@ function TagGroupTitleDnD(props: Props) {height: '100%',borderRadius: AppConfig.defaultCSSRadius,'&:hover, &:focus': {- backgroundColor: emphasize(theme.palette.background.paper, 0.06),+ backgroundColor: emphasize(theme.palette.background.default, 0.06),},}}>