Skip to content

Commit 0689016

Browse files
committed
Make projects page show one project per row and align the project category to be left
1 parent fd53ad1 commit 0689016

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

_includes/projects_horizontal.liquid

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<div class="row no-gutters">
55
{% if project.img %}
66
<div class="col-md-6">
7-
{% include figure.liquid loading="eager" path=project.img sizes="(min-width: 768px) 156px, 50vw" alt="project thumbnail" class="card-img" %}
7+
{% include figure.liquid loading="eager" path=project.img alt="project thumbnail" class="card-img" %}
88
</div>
99
{% endif %}
1010
<div class="{% if project.img %}col-md-6{% else %}col-md-12{% endif %}">

_pages/project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ announcements:
5151
<!-- Generate cards for each project -->
5252
{% if page.horizontal %}
5353
<div class="container">
54-
<div class="row row-cols-1 row-cols-md-2">
54+
<div class="row row-cols-1 row-cols-md-1">
5555
{% for project in sorted_projects %}
5656
{% include projects_horizontal.liquid %}
5757
{% endfor %}

_sass/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ footer.sticky-bottom {
712712
padding-top: 0.5rem;
713713
margin-top: 2rem;
714714
margin-bottom: 1rem;
715-
text-align: right;
715+
text-align: left;
716716
}
717717
}
718718

0 commit comments

Comments
 (0)