mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Fix flex column
Fixes #58 The aside column expanded if its content was too large.
This commit is contained in:
parent
253214cbc6
commit
1f4e740236
@ -4,8 +4,9 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<div class="flex-l mt2 mw8 center">
|
<div class="flex-l flex-wrap mt2 mw8 center">
|
||||||
<article class="center cf pv5 ph3 ph4-ns mw7">
|
|
||||||
|
<article class="center cf pv5 ph3 ph4-ns mw7 w-two-thirds-l">
|
||||||
<p class="f6 b helvetica tracked">
|
<p class="f6 b helvetica tracked">
|
||||||
{{/* Humanize removes hyphens and capitalizes the first word */}}
|
{{/* Humanize removes hyphens and capitalizes the first word */}}
|
||||||
{{ humanize .Section | upper }}
|
{{ humanize .Section | upper }}
|
||||||
@ -23,8 +24,10 @@
|
|||||||
</section>
|
</section>
|
||||||
{{ partial "tags.html" . }}
|
{{ partial "tags.html" . }}
|
||||||
</article>
|
</article>
|
||||||
<div class="ph3 mt2 mt6-ns">
|
|
||||||
|
<div class="ph3 mt2 mt6-ns w-third-l">
|
||||||
{{ partial "menu-contextual.html" . }}
|
{{ partial "menu-contextual.html" . }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user