зеркало из https://github.com/nextcloud/deck.git
feat: Add markdown support for comments
Signed-off-by: Julius Knorr <jus@bitgrid.net>
This commit is contained in:
Родитель
90e0cab306
Коммит
4d9395982e
|
@ -167,7 +167,10 @@ export default {
|
|||
|
||||
.comment-form__contenteditable {
|
||||
word-break: break-word;
|
||||
border-radius: var(--border-radius-large)
|
||||
border-radius: var(--border-radius-large);
|
||||
padding: var(--default-grid-baseline);
|
||||
max-height: 200px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.atwho-wrap {
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
</div>
|
||||
<NcRichText class="comment--content"
|
||||
dir="auto"
|
||||
use-markdown
|
||||
:text="richText(comment)"
|
||||
:arguments="richArgs(comment)"
|
||||
:autolink="true" />
|
||||
|
@ -63,6 +64,7 @@
|
|||
<div v-show="!edit" ref="richTextElement">
|
||||
<NcRichText class="comment--content"
|
||||
dir="auto"
|
||||
use-markdown
|
||||
:text="richText(comment)"
|
||||
:arguments="richArgs(comment)"
|
||||
:autolink="true" />
|
||||
|
|
|
@ -23,10 +23,13 @@
|
|||
padding: 13px;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
opacity: .3;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
bottom: var(--default-grid-baseline);
|
||||
right: var(--default-grid-baseline);
|
||||
|
||||
&:disabled {
|
||||
opacity: .7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче