aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/_shortcode.scss2
-rw-r--r--layouts/shortcodes/columns.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/assets/_shortcode.scss b/assets/_shortcode.scss
index bfd8cd7..c187b6b 100644
--- a/assets/_shortcode.scss
+++ b/assets/_shortcode.scss
@@ -1,6 +1,6 @@
@import "variables";
-.markdown-inner {
+.markdown-inner { // Util class to remove extra margin in nested markdown content
> :first-child {
margin-top: 0;
}
diff --git a/layouts/shortcodes/columns.html b/layouts/shortcodes/columns.html
index ec62322..e4c230b 100644
--- a/layouts/shortcodes/columns.html
+++ b/layouts/shortcodes/columns.html
@@ -1,6 +1,6 @@
<div class="book-columns flex">
{{ range split .Inner "<--->" }}
- <div class="flex-even">
+ <div class="flex-even markdown-inner">
{{ . | markdownify }}
</div>
{{ end }}