Skip to content

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

fix: long file extension in grid perspective row view

Ilian Sapundshiev3145c36ac822
diff --git a/app/perspectives/grid-perspective/components/styles.css.tsx b/app/perspectives/grid-perspective/components/styles.css.tsx
index bd0f79296..fd874a3de 100644
--- a/app/perspectives/grid-perspective/components/styles.css.tsx
+++ b/app/perspectives/grid-perspective/components/styles.css.tsx
@@ -114,7 +114,9 @@ export default (theme: any): any => ({
fontWeight: 'bold',
borderRadius: 3,
// color: theme.palette.getContrastText(),
- textAlign: 'center'
+ textAlign: 'center',
+ overflow: 'hidden',
+ textOverflow: 'ellipsis'
},
gridSizeDate: {
overflow: AppConfig.isFirefox ? 'auto' : 'overlay',