Skip to content

Commit

Permalink
Use grid for the blog page.
Browse files Browse the repository at this point in the history
This uses the same split, 75-25 for medium screens and up. But now
when the browser is smaller, it'll be a single 100% column for both
the blog and side content. This will stack the blog.

References #158
Fixes #199
  • Loading branch information
tim-schilling committed Jan 14, 2024
1 parent a66b8de commit 1bb7fb3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions indymeet/templates/puput/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ <h2 class="pl-5">{{ blog_page.description }}</h2>
{% endblock blog_header %}
{% wagtailuserbar %}
<div class="container container-blog mx-auto">
<div class="flex">
<div class="basis-3/4">
<div class="grid grid-cols-1 md:grid-cols-4">
<div class="col-span-1 md:col-span-3">
{% block extra_content %}{% endblock extra_content %}
</div>

<div class="basis-1/4">
<div class="col-span-1 md:col-span-1">
<div class="blog_sidebar">
<div class="rss-sitemap">
<a href="{% feeds_url blog_page %}" target="_blank" title="RSS">
Expand Down

0 comments on commit 1bb7fb3

Please sign in to comment.