summaryrefslogtreecommitdiffstats
path: root/theme/templates
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-10-02 12:19:21 +0200
committerSamy Pessé <samypesse@gmail.com>2015-10-06 09:45:06 +0200
commit23a46b0597635e098dc3a375765ddb25ac9d0c05 (patch)
treee0d366acadbb422a465196a113345d56ce3f5864 /theme/templates
parent51c79f294ca8ef9bc3205a7c81454d7a3fd2722c (diff)
downloadgitbook-23a46b0597635e098dc3a375765ddb25ac9d0c05.zip
gitbook-23a46b0597635e098dc3a375765ddb25ac9d0c05.tar.gz
gitbook-23a46b0597635e098dc3a375765ddb25ac9d0c05.tar.bz2
Remove margin on first header of a page (ebook)
Avoid breaking in code blocks
Diffstat (limited to 'theme/templates')
-rw-r--r--theme/templates/ebook/page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/theme/templates/ebook/page.html b/theme/templates/ebook/page.html
index f207184..0b87586 100644
--- a/theme/templates/ebook/page.html
+++ b/theme/templates/ebook/page.html
@@ -22,7 +22,7 @@
<div class="page">
<h1 class="book-chapter book-chapter-{{ progress.current.level|lvl }}">{{ progress.current.title }}</h1>
{% for section in content %}
- <div class="{{ section.type }}" id="section-{{ section.id }}">
+ <div class="section {{ section.type }}" id="section-{{ section.id }}">
{% if section.type == "normal" %}
{% autoescape false %}{{ section.content }}{% endautoescape %}
{% endif %}