Skip to content

Commit 965fdcc

Browse files
committed
Fix page width /insights
1 parent 1b50e78 commit 965fdcc

1 file changed

Lines changed: 18 additions & 16 deletions

File tree

templates/insights.html

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,24 @@ <h1 class="title" style="font-size: 2.5rem;">Insights</h1>
77
</div>
88
</section>
99

10-
<div class="container">
11-
{% for page in pages | sort(attribute='date', reverse=True) %}
12-
<a href="{{ url_for("page", path=page.path) }}" style="text-decoration: none; border-bottom: none;">
13-
<div class="bordered finding" style="margin-bottom: 16px;">
14-
<h3 class="card-title" style="font-size: 1.15rem; white-space: normal;">
15-
<span>{{ page.title }}</span>
16-
</h3>
17-
<p class="card-content" style="margin-top: 8px;">
18-
<span class="subtext">{{ page.date }}</span> &bull; {{ page.description }}
19-
</p>
20-
<p class="card-content" style="margin-top: 4px;">by {{ page.authors }}</p>
21-
</div>
22-
</a>
23-
{% else %}
24-
<p style="text-align: center; color: var(--muted); padding: 40px;">No posts yet!</p>
25-
{% endfor %}
10+
<div class="story-section">
11+
<div class="container">
12+
{% for page in pages | sort(attribute='date', reverse=True) %}
13+
<a href="{{ url_for("page", path=page.path) }}" style="text-decoration: none; border-bottom: none;">
14+
<div class="bordered finding" style="margin-bottom: 16px;">
15+
<h3 class="card-title" style="font-size: 1.15rem; white-space: normal;">
16+
<span>{{ page.title }}</span>
17+
</h3>
18+
<p class="card-content" style="margin-top: 8px;">
19+
<span class="subtext">{{ page.date }}</span> &bull; {{ page.description }}
20+
</p>
21+
<p class="card-content" style="margin-top: 4px;">by {{ page.authors }}</p>
22+
</div>
23+
</a>
24+
{% else %}
25+
<p style="text-align: center; color: var(--muted); padding: 40px;">No posts yet!</p>
26+
{% endfor %}
27+
</div>
2628
</div>
2729

2830
{% endblock content %}

0 commit comments

Comments
 (0)