1
0
Fork 0

Replace border with outline

This commit is contained in:
Amarpreet Minhas 2020-02-08 23:11:19 -05:00
parent 84f7b6951f
commit bb55c1460b

View file

@ -25,7 +25,7 @@ class Post extends React.Component {
return comments.map(comment => { return comments.map(comment => {
return ( return (
<div key={comment.id}> <div key={comment.id}>
<div className="item" style={{border: '1px solid', borderColor: '#DADADA', borderRadius: '5px'}}> <div className="item" style={{outlineOffset: 2, outline: '1px solid', outlineColor: '#DADADA'}}>
<h5><b>Comment by <Link to={"/users/"+ comment.author}>{comment.author}</Link></b><br></br> <h5><b>Comment by <Link to={"/users/"+ comment.author}>{comment.author}</Link></b><br></br>
Posted: {comment.time_published} Posted: {comment.time_published}
</h5> </h5>