Wrap lines properly in comment text
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
</span>
|
||||
</template>
|
||||
<div ref="contentEditable"
|
||||
class="comment-form__contenteditable"
|
||||
contenteditable
|
||||
@keydown.enter="handleKeydown"
|
||||
@paste="onPaste"
|
||||
@@ -175,6 +176,10 @@ export default {
|
||||
<style scoped lang="scss">
|
||||
@import '../../css/comments';
|
||||
|
||||
.comment-form__contenteditable {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.atwho-wrap {
|
||||
width: 100%;
|
||||
& > div[contenteditable] {
|
||||
|
||||
@@ -48,4 +48,5 @@
|
||||
|
||||
.comment--content {
|
||||
margin-left: 44px;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user