mirror of
https://github.com/wassname/talk.git
synced 2026-08-01 13:00:55 +08:00
fix dismiss button being cut off in pre-mod notice (#2433)
This commit is contained in:
+4
@@ -1,3 +1,7 @@
|
||||
.flex {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.buttonWrapper {
|
||||
padding-left: var(--spacing-2);
|
||||
}
|
||||
|
||||
+11
-5
@@ -20,11 +20,17 @@ const PostCommentInReview: FunctionComponent<
|
||||
Your comment has been submitted and will be reviewed by a moderator
|
||||
</div>
|
||||
</Localized>
|
||||
<Localized id="comments-submitStatus-dismiss">
|
||||
<Button onClick={props.onDismiss} variant="underlined" color="light">
|
||||
Dismiss
|
||||
</Button>
|
||||
</Localized>
|
||||
<div className={styles.buttonWrapper}>
|
||||
<Localized id="comments-submitStatus-dismiss">
|
||||
<Button
|
||||
onClick={props.onDismiss}
|
||||
variant="underlined"
|
||||
color="light"
|
||||
>
|
||||
Dismiss
|
||||
</Button>
|
||||
</Localized>
|
||||
</div>
|
||||
</Flex>
|
||||
</Message>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user