fix: improve spacing of shortcodes (#583)
This commit is contained in:
parent
1bf4ccced7
commit
935b200eb0
5 changed files with 15 additions and 52 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue