diff --git a/assets/sass/custom.scss b/assets/sass/custom.scss
index 5afa16d7..42b9f062 100644
--- a/assets/sass/custom.scss
+++ b/assets/sass/custom.scss
@@ -43,17 +43,16 @@
@include breakpoint('<=narrower') {
#logo-text-wrapper { display: none; }
#titleBar { background-color: rgb(124,124,124); }
- #content article img {
- max-width: 100%
- }
}
+#content article img { max-width: 100%; }
+
figure {
display: inline-block;
}
figcaption {
- width: 100%;
+ width: auto;
text-align: center;
font-size: smaller;
font-style: italic;
diff --git a/layouts/_default/_markup/render-image.html b/layouts/_default/_markup/render-image.html
index 8f816349..46512be1 100644
--- a/layouts/_default/_markup/render-image.html
+++ b/layouts/_default/_markup/render-image.html
@@ -29,7 +29,7 @@
{{- end -}}>
{{- with $figcaption -}}
{{- . -}}
{{- end -}}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 0a62559d..329073ce 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -35,7 +35,7 @@
{{- end -}}
{{- with .Params.image_caption -}}
- {{- . | markdownify -}}
+ {{- . | markdownify -}}
{{- end -}}
{{ end }}