fix styling of icons and text in stream announcement (#2821)

This commit is contained in:
Tessa Thornton
2020-02-04 12:53:27 -05:00
committed by GitHub
parent 9cc3a57295
commit 503eb0b06a
2 changed files with 10 additions and 5 deletions
@@ -7,5 +7,6 @@
.text {
@mixin bodyCopy;
font-weight: var(--font-weight-medium);
color: white;
}
@@ -15,13 +15,17 @@ const Announcement: FunctionComponent<Props> = props => {
return (
<div className={cn(styles.root, CLASSES.announcement)}>
<Flex justifyContent="space-between" alignItems="center">
<Flex itemGutter>
<Icon size="lg">notifications</Icon>
<Flex itemGutter="double" alignItems="center">
<div>
<Icon size="lg">notifications</Icon>
</div>
<span className={styles.text}>{props.children}</span>
</Flex>
<Button color="light" onClick={props.onClose}>
<Icon>close</Icon>
</Button>
<div>
<Button color="light" onClick={props.onClose}>
<Icon>close</Icon>
</Button>
</div>
</Flex>
</div>
);