Skip to content

Commit bd877d0

Browse files
committed
leave images on about page as is
set home page gallery to thumb class
1 parent f768b85 commit bd877d0

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

_includes/gallery

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
{% else %}
1010
{% if gallery.size == 2 %}
1111
{% assign gallery_layout = 'half' %}
12-
{% elsif gallery.size >= 3 %}
12+
{% elsif gallery.size == 3 %}
1313
{% assign gallery_layout = 'third' %}
14+
{% elsif gallery.size >= 3 %}
15+
{% assign gallery_layout = 'thumb' %}
1416
{% else %}
1517
{% assign gallery_layout = '' %}
1618
{% endif %}

_sass/minimal-mistakes/_base.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,19 @@ figure {
246246
}
247247

248248
&.third {
249+
> a,
250+
> img {
251+
@include breakpoint($small) {
252+
width: calc(33.3333% - 0.5em);
253+
}
254+
}
255+
256+
figcaption {
257+
width: 100%;
258+
}
259+
}
260+
261+
&.thumb {
249262
> a,
250263
> img {
251264
@include breakpoint($small) {

0 commit comments

Comments
 (0)