Skip to content

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

restoring hover effect on tags

Ilian Sapundshiev3516b55389a1
diff --git a/app/perspectives/grid-perspective/src/index.js b/app/perspectives/grid-perspective/src/index.js
index 52a104b68..4ceba3fe0 100644
--- a/app/perspectives/grid-perspective/src/index.js
+++ b/app/perspectives/grid-perspective/src/index.js
@@ -855,7 +855,7 @@ class GridPerspective extends React.Component<Props, State> {
height: 150 // fsEntry.isFile ? 150 : 70
}}
>
- <div className={classes.gridCellTags}>
+ <div id="gridCellTags" className={classes.gridCellTags}>
{fsEntry.tags.map(tag => this.renderTag(tag, fsEntry))}
</div>
{description.length > 0 && (
@@ -1010,6 +1010,13 @@ class GridPerspective extends React.Component<Props, State> {
return (
<div style={{ height: '100%' }}>
+ <style>
+ {`
+ #gridCellTags:hover {
+ opacity: 1
+ }
+ `}
+ </style>
<Toolbar
className={classes.topToolbar}
data-tid="perspectiveGridToolbar"