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
This commit is contained in:
Philip Molares 2020-06-26 11:12:17 +02:00 committed by Philip Molares
parent 0c078d6d62
commit fe55ef7e13

View file

@ -7,7 +7,7 @@
margin-bottom: 0; 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%; width: 100%;
max-width: 900px; max-width: 900px;