From 96e7407d4ca7a90d760a5702f3e8af3535cd20b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bel=C3=A9n=20Curcio?= Date: Tue, 24 Jul 2018 13:22:22 -0300 Subject: [PATCH] Working --- .../client/stream/components/Comment/Comment.tsx | 8 ++++++-- .../client/stream/components/PermalinkPopover.css | 5 ----- .../client/stream/components/PermalinkPopover.tsx | 15 ++++++++------- src/core/client/ui/components/Popover/Popover.tsx | 4 ++-- .../client/ui/components/TextField/TextField.tsx | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/core/client/stream/components/Comment/Comment.tsx b/src/core/client/stream/components/Comment/Comment.tsx index 72eec2bc3..889ffbe1f 100644 --- a/src/core/client/stream/components/Comment/Comment.tsx +++ b/src/core/client/stream/components/Comment/Comment.tsx @@ -28,8 +28,12 @@ const Comment: StatelessComponent = props => {
( - + body={({ toggleVisibility, forwardRef }) => ( + )} > {({ toggleVisibility, forwardRef }) => ( diff --git a/src/core/client/stream/components/PermalinkPopover.css b/src/core/client/stream/components/PermalinkPopover.css index 2d5f33fd2..8f956e370 100644 --- a/src/core/client/stream/components/PermalinkPopover.css +++ b/src/core/client/stream/components/PermalinkPopover.css @@ -3,11 +3,6 @@ } .root { - background-color: #ffffff; - border: 1px solid #c9cacb; - box-sizing: border-box; - box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.25); - border-radius: 1px; padding: 6px 10px; display: flex; } diff --git a/src/core/client/stream/components/PermalinkPopover.tsx b/src/core/client/stream/components/PermalinkPopover.tsx index a4d8feca2..3093d009d 100644 --- a/src/core/client/stream/components/PermalinkPopover.tsx +++ b/src/core/client/stream/components/PermalinkPopover.tsx @@ -6,9 +6,10 @@ import { Button, TextField } from "talk-ui/components"; import * as styles from "./PermalinkPopover.css"; interface InnerProps { - commentId: string; + commentID: string; style?: CSSProperties; - innerRef?: RefHandler; + forwardRef?: RefHandler; + toggleVisibility?: () => any; } interface State { @@ -34,13 +35,13 @@ class PermalinkPopover extends React.Component { }; public render() { - const { commentId, style, innerRef } = this.props; + const { commentID } = this.props; const { copied } = this.state; return ( -
- - -