fix: fix width on content to always be aligned with the header

This commit is contained in:
Jonathan Rainville 2020-02-28 15:29:38 -05:00 committed by Jakub Sokołowski
parent b58ccd7787
commit affc0fda64
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
6 changed files with 12 additions and 8 deletions

View File

@ -9,8 +9,12 @@ layout: blog-post
image: '/assets/images/embark-header_blank.jpg'
---
<span class="o-center">
![Embark Labs](/assets/images/embark_logo.png)
</span>
Embark 5.2
===
@ -144,7 +148,7 @@ config({
}
}
}
})
})
```
## Improved compatibility

View File

@ -24,7 +24,7 @@
}}
{% endif %}
<main role="main">
<section class="o-container-medium o-distance">
<section class="o-container o-distance">
{% for post in page.posts %}
{{
partial('partial/whisperbox', {

View File

@ -7,13 +7,13 @@
})
}}
<main role="main" class="o-standard-page">
<section class="o-container-medium o-distance">
<section class="o-container o-distance">
{{page.content}}
</section>
{% if page.next !== null || page.prev !== null %}
<div class="o-container-medium o-distance">
<div class="o-container o-distance">
{{ partial('partial/paginator', { next: page.next, prev: page.prev }) }}
</div>
{% endif %}

View File

@ -187,7 +187,7 @@
</div>
</section>
<section>
<div class="o-container-medium o-distance o-center">
<div class="o-container o-distance o-center">
<div class="c-box c-box--spot">
<h3><span>{{__('start_page.newsletter_section.heading.title')}}</span></h3>
<div id="mc_embed_signup" class="o-distance-l">

View File

@ -6,7 +6,7 @@
})
}}
<main role="main" class="o-standard-page">
<section class="o-container-medium o-distance">
<section class="o-container o-distance">
{{page.content}}
</section>
</main>

View File

@ -55,7 +55,7 @@
<input type="search" id="inp-search" placeholder="Search">
</div>
</div>
<div class="o-container-medium">
<div class="o-container">
<div class="c-header__body">
<h1 class="c-title u-text-ghost">{{ title }}</h1>
{% if author %}