We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb1451f commit 89d59b8Copy full SHA for 89d59b8
apps/comments/src/components/Comment.vue
@@ -103,6 +103,7 @@
103
:class="{ 'comment__message--expanded': expanded }"
104
:text="richContent.message"
105
:arguments="richContent.mentions"
106
+ use-markdown
107
@click.native="onExpand" />
108
</div>
109
</component>
@@ -376,13 +377,19 @@ $comment-padding: 10px;
376
377
&__message {
378
white-space: pre-wrap;
379
word-break: normal;
- max-height: 70px;
380
- overflow: hidden;
+ max-height: 200px;
381
+ overflow: auto;
382
+ scrollbar-gutter: stable;
383
+ scrollbar-width: thin;
384
margin-top: -6px;
385
&--expanded {
386
max-height: none;
387
overflow: visible;
388
}
389
+ :deep(img) {
390
+ max-width: 100%;
391
+ height: auto;
392
+ }
393
394
395
0 commit comments