We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f768b85 commit bd877d0Copy full SHA for bd877d0
_includes/gallery
@@ -9,8 +9,10 @@
9
{% else %}
10
{% if gallery.size == 2 %}
11
{% assign gallery_layout = 'half' %}
12
- {% elsif gallery.size >= 3 %}
+ {% elsif gallery.size == 3 %}
13
{% assign gallery_layout = 'third' %}
14
+ {% elsif gallery.size >= 3 %}
15
+ {% assign gallery_layout = 'thumb' %}
16
17
{% assign gallery_layout = '' %}
18
{% endif %}
_sass/minimal-mistakes/_base.scss
@@ -246,6 +246,19 @@ figure {
246
}
247
248
&.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 {
262
> a,
263
> img {
264
@include breakpoint($small) {
0 commit comments