Skip to content

Commit

Permalink
Merge pull request #568 from tiidadavena/lektor
Browse files Browse the repository at this point in the history
fix: turning community page mobile-first responsive
  • Loading branch information
freakboy3742 authored May 22, 2024
2 parents fcc86f8 + 444dda5 commit ca4a3dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/community.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
{% from "macros/breadcrumbs.html" import breadcrumbs %}
{% block title %}{{ this.title }}{% endblock %}
{% block gutter %}
<div class="col-sm-4">

<div class="col-md-4">
<div class="gutter">
{{ this.gutter }}
{% for child in this.children %}
Expand Down
6 changes: 3 additions & 3 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ <h1>{{ this.title }}</h1>
{% endblock %}
{% block body %}
<div class="row">
<div class="col-sm-7 mr-auto">
<div class="col-md-7 mr-auto">
{{ incomplete(this) }}
{% block main %}
{{ this.body }}
Expand All @@ -29,13 +29,13 @@ <h2><a href="{{ child|url(alt=this.alt) }}">{{ child.title }}</a></h2>
{% block gutter %}
{% if this.gutter and this.gutter.source %}
<!-- <div class="col-sm-12 col-md-4 gutter"> -->
<div class="col-sm-4">
<div class="col-md-4">
<div class="sidebar-module sidebar-module-inset gutter">
{{ this.gutter }}
</div>
</div>
{% else %}
<div class="hidden-sm-down col-sm-4">
<div class="hidden-sm-down col-md-4">
</div>
{% endif %}
{% endblock %}
Expand Down

0 comments on commit ca4a3dc

Please sign in to comment.