diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-27 12:54:31 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-05-27 12:54:31 +0200 |
commit | 6d64cc708e73c38f23bfc5929608d5d77a9c5a07 (patch) | |
tree | dd27519d49a14d85c65ef24c3e7b0b252bdd3d80 | |
parent | 5d475787e11d49bd351ce5132fe3ed2ca9b0eb75 (diff) |
Remove extra spacing around columns view
-rw-r--r-- | assets/_shortcode.scss | 2 | ||||
-rw-r--r-- | layouts/shortcodes/columns.html | 2 |
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 }} |