diff options
author | 2019-04-06 10:11:14 +0200 | |
---|---|---|
committer | 2019-04-06 10:11:14 +0200 | |
commit | 625c3b0ab1ede0a7d54992e9a5f25bfd702e7952 (patch) | |
tree | 05303f4d31f2a64d1fa48976b1db406b1d6f9347 /src/features/workspaces/components | |
parent | make workspace settings list items taller (diff) | |
download | ferdium-app-625c3b0ab1ede0a7d54992e9a5f25bfd702e7952.tar.gz ferdium-app-625c3b0ab1ede0a7d54992e9a5f25bfd702e7952.tar.zst ferdium-app-625c3b0ab1ede0a7d54992e9a5f25bfd702e7952.zip |
refactor workspace table css away from legacy styles
Diffstat (limited to 'src/features/workspaces/components')
-rw-r--r-- | src/features/workspaces/components/WorkspacesDashboard.js | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/features/workspaces/components/WorkspacesDashboard.js b/src/features/workspaces/components/WorkspacesDashboard.js index a8b3b376c..dd4381a15 100644 --- a/src/features/workspaces/components/WorkspacesDashboard.js +++ b/src/features/workspaces/components/WorkspacesDashboard.js | |||
@@ -48,7 +48,13 @@ const messages = defineMessages({ | |||
48 | }, | 48 | }, |
49 | }); | 49 | }); |
50 | 50 | ||
51 | const styles = (theme) => ({ | 51 | const styles = theme => ({ |
52 | table: { | ||
53 | width: '100%', | ||
54 | '& td': { | ||
55 | padding: '10px', | ||
56 | }, | ||
57 | }, | ||
52 | createForm: { | 58 | createForm: { |
53 | height: 'auto', | 59 | height: 'auto', |
54 | }, | 60 | }, |
@@ -164,7 +170,7 @@ class WorkspacesDashboard extends Component { | |||
164 | {intl.formatMessage(messages.workspacesRequestFailed)} | 170 | {intl.formatMessage(messages.workspacesRequestFailed)} |
165 | </Infobox> | 171 | </Infobox> |
166 | ) : ( | 172 | ) : ( |
167 | <table className="workspace-table"> | 173 | <table className={classes.table}> |
168 | {/* ===== Workspaces list ===== */} | 174 | {/* ===== Workspaces list ===== */} |
169 | <tbody> | 175 | <tbody> |
170 | {workspaces.map(workspace => ( | 176 | {workspaces.map(workspace => ( |