Skip to content

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

fix: ui-improvements grid and row design

Ilian Sapundshiev1b122dbe9170
diff --git a/app/perspectives/grid-perspective/components/styles.css.tsx b/app/perspectives/grid-perspective/components/styles.css.tsx
index f486606b9..bd2132a3d 100644
--- a/app/perspectives/grid-perspective/components/styles.css.tsx
+++ b/app/perspectives/grid-perspective/components/styles.css.tsx
@@ -20,8 +20,8 @@ import AppConfig from '-/config';
export default (theme: any): any => ({
gridContainer: {
display: 'grid',
- gridGap: '2px 2px',
- padding: 2,
+ gridGap: '0px 0px',
+ padding: 0,
paddingRight: 10,
paddingBottom: 200
},
@@ -35,9 +35,10 @@ export default (theme: any): any => ({
},
gridCell: {
border: '2px solid transparent',
- margin: 2,
- marginBottom: 3,
- marginRight: 3
+ marginTop: 1,
+ marginLeft: 2,
+ marginBottom: 1,
+ marginRight: 1
},
rowCell: {
boxShadow: 'none',
@@ -59,8 +60,8 @@ export default (theme: any): any => ({
backgroundColor: theme.palette.primary.light + ' !important'
},
selectedRowCell: {
- borderRadius: '0px',
- border: '1px solid' + theme.palette.primary.main
+ borderRadius: 0,
+ border: '1px solid' + theme.palette.primary.main + ' !important'
},
gridCellThumb: {
backgroundRepeat: 'no-repeat',