Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marketempower/axiom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJhaura Wachsman <jhaurawachsman@gmail.com>2020-05-26 22:12:48 +0300
committerJhaura Wachsman <jhaurawachsman@gmail.com>2020-05-26 22:12:48 +0300
commit9ec597993816cc072409b7a8cce76522b4adc912 (patch)
treeefe88cbee9a9b271316f200c5f7b35fc73157ed8
parent016bb1427fdc80aa401519ea7f4ac3ce4067e2bd (diff)
Remove margin on <script/style> elements
-rw-r--r--src/cdata.css11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cdata.css b/src/cdata.css
index 0e400e1..96fe725 100644
--- a/src/cdata.css
+++ b/src/cdata.css
@@ -68,6 +68,17 @@
@apply mt-10;
}
+ /* remove margin */
+ /* inline injections */
+ & > script,
+ & > style,
+ & > script:first-child + *,
+ & > style:first-child + *,
+ & > script:first-child + style + *,
+ & > style:first-child + script + * {
+ @apply mt-0;
+ }
+
/* <a>:link:visited */
& > a:not([role=button]):link,
& > a:not([role=button]):visited,