fix: improve spacing of shortcodes (#583)

This commit is contained in:
Robert Kaussow 2023-02-16 09:01:43 +01:00 committed by GitHub
parent 1bf4ccced7
commit 935b200eb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 15 additions and 52 deletions

View file

@ -1,24 +1,6 @@
.gdoc-markdown {
line-height: 1.6em;
> :first-child {
margin-top: 0 !important;
}
&--nested {
:first-child {
margin-top: 0 !important;
}
> pre {
margin-top: 0 !important;
}
> :last-child {
margin-bottom: 0;
}
}
h1,
h2,
h3,
@ -127,13 +109,6 @@
border-left: $border-4 solid var(--accent-color);
border-radius: $border-radius;
:first-child {
margin-top: 0;
}
:last-child {
margin-bottom: 0;
}
}
table:not(.lntable):not(.highlight) {
@ -185,10 +160,6 @@
}
}
pre {
margin: 1rem 0;
}
code {
padding: 0.2em 0.4em;
}