Skip to content

Commit e2bb75d

Browse files
committed
fix overview page meta alignment
1 parent e36650b commit e2bb75d

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

web-app/src/containers/Overview/OverviewPage.tsx

+9-4
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ const styles = {
4040
description: {
4141
fontSize: '1rem',
4242
},
43+
meta: {
44+
display: 'flex' as 'flex',
45+
flexDirection: 'row' as 'row',
46+
flexWrap: 'wrap' as 'wrap',
47+
},
4348
levelList: {
4449
padding: '0rem 1rem',
4550
},
@@ -88,10 +93,10 @@ const Summary = (props: Props) => (
8893
</div>
8994
<h1 css={styles.title}>{props.title}</h1>
9095
<h3>{props.description}</h3>
91-
<h4>
92-
<span css={{ marginRight: '2rem' }}>Created by {props.createdBy.name}</span>
93-
<span>Last updated {moment(props.updatedAt).format('M/YYYY')}</span>
94-
</h4>
96+
<h5 css={styles.meta}>
97+
<div css={{ marginRight: '2rem' }}>Created by {props.createdBy.name}</div>
98+
<div>Last updated {moment(props.updatedAt).format('M/YYYY')}</div>
99+
</h5>
95100
</div>
96101
<div>
97102
<div css={styles.levelList}>

0 commit comments

Comments
 (0)