From d994e634e8d8876076de377ee0afeef1bd0d1854 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 28 Jun 2018 14:56:28 +0300 Subject: Thread styling --- vnext/src/components/Thread.js | 7 +++++-- vnext/src/style/main.css | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'vnext') diff --git a/vnext/src/components/Thread.js b/vnext/src/components/Thread.js index d25ca228..fd10e86f 100644 --- a/vnext/src/components/Thread.js +++ b/vnext/src/components/Thread.js @@ -6,7 +6,6 @@ import Message from './Message'; import MessageInput from './MessageInput'; import Spinner from './Spinner'; import Avatar from './Avatar'; -import Icon from './Icon'; import Button from './Button'; import { format } from '../utils/embed'; @@ -125,7 +124,7 @@ export default class Thread extends React.Component { { this.props.visitor.uid > 0 ? ( - {this.state.active === msg.rid || } + {this.state.active === msg.rid || this.setActive(msg)}>Reply} {this.state.active === msg.rid && Write a comment...} ) : ( @@ -149,6 +148,10 @@ export default class Thread extends React.Component { } } +const linkStyle = { + cursor: 'pointer' +} + function Recommendations(props) { const recomms = props.src; return recomms && recomms.length > 0 && ( diff --git a/vnext/src/style/main.css b/vnext/src/style/main.css index 9f1d42c0..05a0e653 100644 --- a/vnext/src/style/main.css +++ b/vnext/src/style/main.css @@ -471,6 +471,8 @@ article .tags > a, } #replies .msg-cont { margin: 0; + box-shadow: none; + border-bottom: 1px #eee solid; } #replies .msg-txt, #private-messages .msg-txt { -- cgit v1.2.3