Skip to content

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

fixing word wrap on cell description, cleaning up styles

Ilian Sapundshiev1bf69a9af8fe
diff --git a/app/perspectives/grid-perspective/components/styles.css.js b/app/perspectives/grid-perspective/components/styles.css.js
index 54f82fb43..eff57da9f 100644
--- a/app/perspectives/grid-perspective/components/styles.css.js
+++ b/app/perspectives/grid-perspective/components/styles.css.js
@@ -39,7 +39,6 @@ export default (theme) => ({
margin: 2,
marginBottom: 3,
marginRight: 3,
- // borderRadius: 5
},
rowCell: {
// backgroundColor: theme.palette.background.paper,
@@ -51,7 +50,6 @@ export default (theme) => ({
margin: 0,
marginTop: 0,
marginBottom: 0,
- // borderRadius: 0
},
selectedGridCell: {
border: '2px solid' + theme.palette.primary.main,
@@ -84,7 +82,8 @@ export default (theme) => ({
margin: 2,
backgroundColor: theme.palette.background.paper,
opacity: 0.6,
- // borderRadius: 5
+ wordBreak: 'break-all',
+ display: 'block'
},
gridFileExtension: {
flex: 1,
@@ -93,7 +92,6 @@ export default (theme) => ({
maxWidth: 50,
minWidth: 40,
minHeight: 16,
- // borderRadius: 3,
borderWidth: 1,
color: 'white',
// color: theme.palette.getContrastText(),
@@ -105,7 +103,6 @@ export default (theme) => ({
marginTop: 5,
marginRight: 5,
marginLeft: 5,
- // borderRadius: 3,
maxWidth: 45,
minHeight: 15,
borderWidth: 1,
@@ -135,7 +132,6 @@ export default (theme) => ({
marginTop: 5,
minHeight: 10,
height: 20,
- // borderRadius: 3
},
gridFolder: {
color: 'white',
@@ -143,7 +139,6 @@ export default (theme) => ({
marginRight: 5,
minHeight: 10,
height: 20,
- // borderRadius: 3
},
topToolbar: {
paddingLeft: 5,