mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-25 20:56:43 +00:00
Remove extra spacing around columns view
This commit is contained in:
parent
5d475787e1
commit
6d64cc708e
@ -1,6 +1,6 @@
|
|||||||
@import "variables";
|
@import "variables";
|
||||||
|
|
||||||
.markdown-inner {
|
.markdown-inner { // Util class to remove extra margin in nested markdown content
|
||||||
> :first-child {
|
> :first-child {
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="book-columns flex">
|
<div class="book-columns flex">
|
||||||
{{ range split .Inner "<--->" }}
|
{{ range split .Inner "<--->" }}
|
||||||
<div class="flex-even">
|
<div class="flex-even markdown-inner">
|
||||||
{{ . | markdownify }}
|
{{ . | markdownify }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user