Correct typo in nested styled-components in ui-components

This commit is contained in:
Florian Scholdei
2019-10-09 13:37:40 +02:00
parent d7e62fadb0
commit 72868712ad
3 changed files with 12 additions and 12 deletions

View File

@@ -18,21 +18,21 @@ type Props = {
};
const MarkdownWrapper = styled.div`
> .content: {
> h1, h2, h3, h4, h5, h6: {
> .content {
> h1, h2, h3, h4, h5, h6 {
margin: 0.5rem 0;
font-size: 0.9rem;
}
> h1: {
> h1 {
font-weight: 700;
}
> h2: {
> h2 {
font-weight: 600;
}
> h3, h4, h5, h6: {
> h3, h4, h5, h6 {
font-weight: 500;
}
& strong: {
& strong {
font-weight: 500;
}
}