mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 14:23:17 -04:00
Fix white-space display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
a20f598049
commit
cf43b70db6
1 changed files with 8 additions and 2 deletions
|
|
@ -66,7 +66,7 @@
|
|||
</div>
|
||||
|
||||
<!-- Message editor -->
|
||||
<div class="comment__message" v-if="editor || editing">
|
||||
<div class="comment__editor " v-if="editor || editing">
|
||||
<RichContenteditable v-model="localMessage"
|
||||
:auto-complete="autoComplete"
|
||||
:contenteditable="!loading"
|
||||
|
|
@ -263,6 +263,7 @@ $comment-padding: 10px;
|
|||
color: var(--color-text-maxcontrast);
|
||||
}
|
||||
|
||||
&__editor,
|
||||
&__message {
|
||||
position: relative;
|
||||
// Avatar size, align with author name
|
||||
|
|
@ -292,12 +293,17 @@ $comment-padding: 10px;
|
|||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
&__message {
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
}
|
||||
}
|
||||
|
||||
.rich-contenteditable__input {
|
||||
min-height: 44px;
|
||||
margin: 0;
|
||||
padding: $comment-padding;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in a new issue