Skip to content

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

fix: toolbar transparency in grid perspective

Ilian Sapundshievaafd37c290de
diff --git a/app/perspectives/grid-perspective/components/styles.css.tsx b/app/perspectives/grid-perspective/components/styles.css.tsx
index 0acc555fb..f297f11e6 100644
--- a/app/perspectives/grid-perspective/components/styles.css.tsx
+++ b/app/perspectives/grid-perspective/components/styles.css.tsx
@@ -147,7 +147,8 @@ export default (theme: any): any => ({
background:
'linear-gradient(0deg, ' +
theme.palette.background.default +
- 'AA 0%, ' +
+ (theme.palette.background.default.length === 4 ? 'A' : 'AA') +
+ ' 0%, ' +
theme.palette.background.default +
' 99%)',
backdropFilter: 'blur(5px)',