mirror of
https://github.com/wassname/talk.git
synced 2026-08-11 11:27:10 +08:00
fix styling of icons and text in stream announcement (#2821)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user