Bug fix #11402 - Very wide code blocks overflow in comment preview (#12166)

* Fix #11402 - Comments with code not scroll issue

* Fix #11402 - Comments with code not scroll issue

* Fix #11402 - Comments with code not scroll issue

* #12166 - PR Review changes

* Fix #11402 - Comments with code not scroll issue

* #12166 - PR Review changes
This commit is contained in:
yogeshwaran 2021-01-12 15:15:25 +05:30 committed by GitHub
parent 0fe4164397
commit cf0a85b3a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -29,6 +29,7 @@
display: flex;
flex-flow: column;
flex: 1 auto;
min-width: 0;
}
.comment-textarea {

View file

@ -1,6 +1,6 @@
<div class="crayons-layout crayons-layout--limited-l gap-0">
<div
class="comments-container crayons-card text-padding"
class="comments-container crayons-card min-w-0 text-padding"
id="comments-container"
data-commentable-id="<%= @comment.commentable_id %>"
data-commentable-type="<%= @comment.commentable_type %>">