diff --git a/src/core/client/embed/index.html b/src/core/client/embed/index.html index e0e8f74e6..2be8f9be9 100644 --- a/src/core/client/embed/index.html +++ b/src/core/client/embed/index.html @@ -9,7 +9,7 @@ diff --git a/src/core/client/stream/tabs/profile/components/CommentsHistory.tsx b/src/core/client/stream/tabs/profile/components/CommentsHistory.tsx index 90cec49ff..654e0daf4 100644 --- a/src/core/client/stream/tabs/profile/components/CommentsHistory.tsx +++ b/src/core/client/stream/tabs/profile/components/CommentsHistory.tsx @@ -22,7 +22,7 @@ interface CommentsHistoryProps { const CommentsHistory: StatelessComponent = props => { return ( - + Comment History diff --git a/src/core/client/stream/tabs/profile/components/HistoryComment.css b/src/core/client/stream/tabs/profile/components/HistoryComment.css index 3d3af60dd..058599b47 100644 --- a/src/core/client/stream/tabs/profile/components/HistoryComment.css +++ b/src/core/client/stream/tabs/profile/components/HistoryComment.css @@ -1,18 +1,12 @@ .icon { color: var(--palette-text-secondary); + margin-right: calc(0.5 * var(--spacing-unit)); } -.button, -.replies, -.story { +.replies { composes: button from "talk-ui/shared/typography.css"; } -.sideBar { - min-width: 180px; - padding-left: var(--spacing-unit); -} - -.body { - word-break: break-all; +.divider { + margin: calc(var(--spacing-unit) * 2) 0 !important; } diff --git a/src/core/client/stream/tabs/profile/components/HistoryComment.tsx b/src/core/client/stream/tabs/profile/components/HistoryComment.tsx index 920a5f380..4aca65531 100644 --- a/src/core/client/stream/tabs/profile/components/HistoryComment.tsx +++ b/src/core/client/stream/tabs/profile/components/HistoryComment.tsx @@ -7,6 +7,7 @@ import { Flex, HorizontalGutter, Icon, + MatchMedia, Typography, } from "talk-ui/components"; import HTMLContent from "../../../components/HTMLContent"; @@ -26,52 +27,41 @@ export interface HistoryCommentProps { const HistoryComment: StatelessComponent = props => { return ( - - - {props.body && ( - {props.body} - )} - - - - - - - schedule - {props.createdAt} - - - - {!!props.replyCount && ( - - reply - - {"Replies {$replyCount}"} - - - )} - {"Story: {$title}"} + {"Story: {$title}"} + {props.createdAt} + + {props.body && {props.body}} + + + {!!props.replyCount && ( +
+ reply + + {"Replies {$replyCount}"} + +
+ )} + +
+ +
+
); };