From fe55ef7e139f8017aff11fd7b41550c4ddaa2556 Mon Sep 17 00:00:00 2001 From: Philip Molares Date: Fri, 26 Jun 2020 11:12:17 +0200 Subject: [PATCH] changed comment in markdown-renderer.scss file to explain why the usage of * is necessary see https://github.com/codimd/react-client/pull/271#pullrequestreview-437942115 --- src/components/editor/markdown-renderer/markdown-renderer.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/editor/markdown-renderer/markdown-renderer.scss b/src/components/editor/markdown-renderer/markdown-renderer.scss index f2e29bf97..cfe156eda 100644 --- a/src/components/editor/markdown-renderer/markdown-renderer.scss +++ b/src/components/editor/markdown-renderer/markdown-renderer.scss @@ -7,7 +7,7 @@ margin-bottom: 0; } - // I know this is bad :( sry + // This is necessary since we need to set this for all DOM Element that could be children of .markdown-body and since we support all of HTML that would literally be everything & > * { width: 100%; max-width: 900px;