aboutsummaryrefslogtreecommitdiffstats
path: root/webui/src/bug/Message.js
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-08-31 14:21:45 +0200
committerMichael Muré <batolettre@gmail.com>2019-08-31 22:07:06 +0200
commit87c64cd8fba04f3d88a60ee0df07259523113bf0 (patch)
tree07e305fbff810d2a4bdcf79163ae60d166fbcba6 /webui/src/bug/Message.js
parent0020e608935882fab0318a0e0946b47f47f14c95 (diff)
downloadgit-bug-87c64cd8fba04f3d88a60ee0df07259523113bf0.tar.gz
webui: upgrade to material-ui 4
Diffstat (limited to 'webui/src/bug/Message.js')
-rw-r--r--webui/src/bug/Message.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/webui/src/bug/Message.js b/webui/src/bug/Message.js
index 64498135..db67a3f5 100644
--- a/webui/src/bug/Message.js
+++ b/webui/src/bug/Message.js
@@ -19,10 +19,10 @@ const useStyles = makeStyles(theme => ({
},
bubble: {
flex: 1,
- marginLeft: theme.spacing.unit,
+ marginLeft: theme.spacing(1),
},
header: {
- ...theme.typography.body2,
+ ...theme.typography.body1,
color: '#444',
padding: '0.5rem 1rem',
borderBottom: '1px solid #ddd',
@@ -41,7 +41,7 @@ const useStyles = makeStyles(theme => ({
marginLeft: '0.5rem',
},
body: {
- ...theme.typography.body1,
+ ...theme.typography.body2,
padding: '0 1rem',
},
}));