Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit b01efba

Browse files
cleaned up styles for tabs on StreamMessage.
1 parent 5a876ea commit b01efba

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

src/stream-store/Viewer/HalViewer/StreamMessage.tsx

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import {
55
Drawer,
66
Tab,
77
Tabs,
8+
Typography,
89
WithStyles,
910
withStyles,
1011
} from '@material-ui/core';
@@ -251,7 +252,7 @@ const StreamMessageJson = withStyles(style)(class extends PureComponent<
251252
const { streams, loading, open } = this.state;
252253

253254
return (
254-
<div>
255+
<div className={classes.drawerPaper}>
255256
<Inspector
256257
data={json}
257258
expandLevel={32}
@@ -310,8 +311,30 @@ class StreamMessageTabs extends PureComponent<
310311
onChange={this._handleChange}
311312
indicatorColor={'primary'}
312313
>
313-
<Tab label={'Data'} icon={<Notes />} />
314-
<Tab label={'Metadata'} icon={<Settings />} />
314+
<Tab
315+
label={
316+
<Typography variant={'body1'}>
317+
{'Data'}
318+
</Typography>
319+
}
320+
icon={
321+
<Typography>
322+
<Notes />
323+
</Typography>
324+
}
325+
/>
326+
<Tab
327+
label={
328+
<Typography variant={'body1'}>
329+
{'Metadata'}
330+
</Typography>
331+
}
332+
icon={
333+
<Typography>
334+
<Settings />
335+
</Typography>
336+
}
337+
/>
315338
</Tabs>
316339
</CardActions>
317340
<CardContent>

0 commit comments

Comments
 (0)