Style attachment section headers
This commit is contained in:
parent
ae4c74dd5b
commit
a609c31a57
1 changed files with 6 additions and 2 deletions
|
@ -12,7 +12,11 @@ const styles = {
|
||||||
container: {
|
container: {
|
||||||
width: '100%',
|
width: '100%',
|
||||||
},
|
},
|
||||||
header: {},
|
header: {
|
||||||
|
fontSize: 14,
|
||||||
|
fontWeight: 'normal',
|
||||||
|
lineHeight: '28px',
|
||||||
|
} as React.CSSProperties,
|
||||||
itemContainer: {
|
itemContainer: {
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
flexDirection: 'row',
|
flexDirection: 'row',
|
||||||
|
@ -63,7 +67,7 @@ export class AttachmentListSection extends React.Component<Props, {}> {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={styles.container}>
|
<div style={styles.container}>
|
||||||
<div style={styles.header}>{header}</div>
|
<h2 style={styles.header}>{header}</h2>
|
||||||
<div style={styles.itemContainer}>{this.renderItems()}</div>
|
<div style={styles.itemContainer}>{this.renderItems()}</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue