1
0
mirror of synced 2026-01-01 09:04:46 -05:00
Files
docs/components/ui/MarkdownContent/MarkdownContent.module.scss
Mike Surowiec d76c16da19 Scope markdown body (#21082)
* update article content to markdown ui component

* decouple lunr indexing from class name

* remove summary outline none rule, apply utility class instead

* improve typing

* scope more styles down to markdown-body/extended-markdown

* move all markdown-body style overrides to MarkdownContent component

* fix class targeting within css module

* clean up MarkdownContent header style

* rename data-lunr to data-search

* fix: inline code color issue

* fix: update article markdown to work with MarkdownContent
2021-08-30 14:24:49 +00:00

38 lines
580 B
SCSS

@import "./stylesheets/code.scss";
@import "./stylesheets/headers.scss";
@import "./stylesheets/lists.scss";
@import "./stylesheets/table.scss";
.markdownBody {
summary {
outline: none;
h1,
h2,
h3,
h4,
h5,
h6 {
display: inline-block;
margin-top: 10px;
margin-bottom: 10px;
p {
margin: 0;
padding: 0;
}
}
}
[class~="note"],
[class~="tip"],
[class~="warning"],
[class~="danger"] {
// remove extra space under lists inside of notes
ul,
ol {
margin-bottom: 0;
}
}
}