Fix collapsing page widths

Fix inconsistent page widths on some pages such as blog and talks, by
adding a width (i.e. a `w-full` class) as well as a maximum width.
This commit is contained in:
Oliver Davies 2020-07-02 18:13:04 +01:00
parent 1241ac3277
commit 58036c7ab9

View file

@ -78,7 +78,12 @@
</div>
</div>
</div>
<div class="{{ is_front ? 'max-w-5xl' : 'max-w-3xl' }} mx-auto p-4 space-y-8">
<div
class="
w-full mx-auto p-4 space-y-8
{{ is_front ? 'max-w-5xl' : 'max-w-3xl' }}
"
>
{{ page.secondary_menu }}