TagSpaces is an offline, open source, document manager with tagging support
polish: fix ui glitches with descriptions
Ilian Sapundshievc916dce512c0
diff --git a/app/perspectives/grid-perspective/components/CellContent.tsx b/app/perspectives/grid-perspective/components/CellContent.tsxindex b51e1d3c8..b19ff7c17 100644--- a/app/perspectives/grid-perspective/components/CellContent.tsx+++ b/app/perspectives/grid-perspective/components/CellContent.tsx@@ -96,7 +96,7 @@ const CellContent = (props: Props) => {description = description.substr(0, maxDescriptionPreviewLength) + '...';}- if (description && fsEntry.isFile) {+ if (description && layoutType === 'row' && fsEntry.isFile) {description = ' | ' + description;}diff --git a/app/perspectives/grid-perspective/components/MainContainer.tsx b/app/perspectives/grid-perspective/components/MainContainer.tsxindex 3f0319caa..6a78a53b7 100644--- a/app/perspectives/grid-perspective/components/MainContainer.tsx+++ b/app/perspectives/grid-perspective/components/MainContainer.tsx@@ -710,13 +710,13 @@ const GridPerspective = (props: Props) => {'px)'}}>- <style>+ {/* <style>{`- #gridCellTags:hover, #gridCellDescription:hover {- opacity: 1- }- `}- </style>+ #gridCellTags:hover, #gridCellDescription:hover {+ opacity: 1+ }+ `}+ </style> */}<MainToolbarclasses={classes}layoutType={layoutType}