mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
Support long words for my and featured comments
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user