diff --git a/src/core/client/stream/components/Comment/Username.tsx b/src/core/client/stream/components/Comment/Username.tsx index f19c23024..728944ea2 100644 --- a/src/core/client/stream/components/Comment/Username.tsx +++ b/src/core/client/stream/components/Comment/Username.tsx @@ -16,7 +16,7 @@ const Username: StatelessComponent = props => { {props.children} diff --git a/src/core/client/stream/components/PermalinkView.tsx b/src/core/client/stream/components/PermalinkView.tsx index 4d3035b8d..362efa562 100644 --- a/src/core/client/stream/components/PermalinkView.tsx +++ b/src/core/client/stream/components/PermalinkView.tsx @@ -1,7 +1,7 @@ import { Localized } from "fluent-react/compat"; import React, { MouseEvent, StatelessComponent } from "react"; -import { Button, Flex, Typography } from "talk-ui/components"; +import { Button, Typography } from "talk-ui/components"; import CommentContainer from "../containers/CommentContainer"; import * as styles from "./PermalinkView.css"; @@ -41,11 +41,7 @@ const PermalinkView: StatelessComponent = ({ Comment not found )} - {comment && ( - - - - )} + {comment && } ); }; diff --git a/src/core/client/stream/components/PostCommentForm.css b/src/core/client/stream/components/PostCommentForm.css index 954a4de74..6c6c47b29 100644 --- a/src/core/client/stream/components/PostCommentForm.css +++ b/src/core/client/stream/components/PostCommentForm.css @@ -1,6 +1,5 @@ .root { width: 100%; - padding-bottom: var(--spacing-unit); } .textarea { @@ -9,7 +8,6 @@ height: 150px; width: 100%; box-sizing: border-box; - margin-bottom: var(--spacing-unit); padding: var(--spacing-unit); border-radius: var(--round-corners); resize: vertical; diff --git a/src/core/client/stream/components/PostCommentForm.tsx b/src/core/client/stream/components/PostCommentForm.tsx index 5493519f5..36e7d8be4 100644 --- a/src/core/client/stream/components/PostCommentForm.tsx +++ b/src/core/client/stream/components/PostCommentForm.tsx @@ -3,7 +3,7 @@ import React, { StatelessComponent } from "react"; import { Field, Form } from "react-final-form"; import { OnSubmit } from "talk-framework/lib/form"; import { required } from "talk-framework/lib/validation"; -import { Button, Typography } from "talk-ui/components"; +import { Button, Flex, HorizontalGutter, Typography } from "talk-ui/components"; import * as styles from "./PostCommentForm.css"; import PoweredBy from "./PoweredBy"; @@ -19,38 +19,44 @@ const PostCommentForm: StatelessComponent = props => (
{({ handleSubmit, submitting }) => ( - - {({ input, meta }) => ( -
-