mirror of
https://github.com/wassname/talk.git
synced 2026-07-17 11:33:39 +08:00
fix: styles closer to design
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
.icon {
|
||||
color: var(--palette-text-secondary);
|
||||
margin-right: calc(0.5 * var(--spacing-unit));
|
||||
}
|
||||
|
||||
.button,
|
||||
.replies {
|
||||
composes: button from "talk-ui/shared/typography.css";
|
||||
}
|
||||
@@ -12,6 +12,6 @@
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.commentHistory .divider {
|
||||
.divider {
|
||||
margin: calc(var(--spacing-unit) * 2) 0 !important;
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ export interface HistoryCommentProps {
|
||||
|
||||
const HistoryComment: StatelessComponent<HistoryCommentProps> = props => {
|
||||
return (
|
||||
<HorizontalGutter className={styles.commentHistory}>
|
||||
<HorizontalGutter>
|
||||
<Localized id="profile-historyComment-story" $title={props.asset.title}>
|
||||
<Typography variant="heading4">{"Story: {$title}"}</Typography>
|
||||
</Localized>
|
||||
@@ -36,7 +36,7 @@ const HistoryComment: StatelessComponent<HistoryCommentProps> = props => {
|
||||
<HTMLContent className={styles.body}>{props.body}</HTMLContent>
|
||||
)}
|
||||
</Typography>
|
||||
<Flex direction="row" alignItems="center" itemGutter="double">
|
||||
<Flex direction="row" alignItems="center" itemGutter>
|
||||
{!!props.replyCount && (
|
||||
<div className={styles.replies}>
|
||||
<Icon className={styles.icon}>reply</Icon>
|
||||
|
||||
Reference in New Issue
Block a user