Support long words for my and featured comments

This commit is contained in:
Chi Vinh Le
2017-11-15 13:07:33 +01:00
parent c563a13e7c
commit f2b9db9dbc
3 changed files with 12 additions and 2 deletions
+10 -1
View File
@@ -13,6 +13,14 @@
border-bottom: solid 1px #EBEBEB;
}
.main {
width: 100%;
}
.commentBody {
word-wrap: break-word;
}
.assetURL {
text-decoration: none;
font-weight: bold;
@@ -44,7 +52,8 @@
margin-top: 0;
margin-bottom: 0;
list-style-type: none;
min-width: 136px;
min-width: 140px;
padding: 0px 10px;
}
li {
+1 -1
View File
@@ -19,7 +19,7 @@ class Comment extends React.Component {
return (
<div className={styles.myComment}>
<div>
<div className={styles.main}>
<Slot
fill="commentContent"
defaultComponent={CommentContent}
@@ -44,6 +44,7 @@
margin: 0;
quotes: '\201c' '\201d';
margin-bottom: 10px;
word-wrap: break-word;
}
.quote:before {