diff --git a/src/discussions/comments/comment/Comment.jsx b/src/discussions/comments/comment/Comment.jsx index 7a96cb40..7d1d36a7 100644 --- a/src/discussions/comments/comment/Comment.jsx +++ b/src/discussions/comments/comment/Comment.jsx @@ -74,7 +74,7 @@ function Comment({ setEditing(false)} /> ) // eslint-disable-next-line react/no-danger - :
} + :
} setEditing(false)} /> // eslint-disable-next-line react/no-danger - :
} + :
}
diff --git a/src/discussions/posts/post/Post.jsx b/src/discussions/posts/post/Post.jsx index 709b4f80..d44b39d1 100644 --- a/src/discussions/posts/post/Post.jsx +++ b/src/discussions/posts/post/Post.jsx @@ -75,7 +75,7 @@ function Post({
{/* eslint-disable-next-line react/no-danger */} -
+
{topicContext && topic && (
diff --git a/src/index.scss b/src/index.scss index eb7db34c..973532fb 100755 --- a/src/index.scss +++ b/src/index.scss @@ -5,3 +5,11 @@ $fa-font-path: "~font-awesome/fonts"; @import "~font-awesome/scss/font-awesome"; + + +#post, #comment, #reply { + img { + height: auto; + max-width: 100%; + } +}