diff --git a/assets/scss/_nav.scss b/assets/scss/_nav.scss index 8b5d4797cc..1d5d41d94a 100644 --- a/assets/scss/_nav.scss +++ b/assets/scss/_nav.scss @@ -153,14 +153,11 @@ nav.foldable-nav { } ul.foldable { - max-height: 0; - overflow: hidden; - transition: max-height 0.5s cubic-bezier(0, 1, 0, 1); + display: none; } input:checked ~ ul.foldable { - max-height: 100000vmax; - transition: max-height 1s ease-in-out; + display: block; } input[type=checkbox] { display: none; } diff --git a/layouts/shortcodes/imgproc.html b/layouts/shortcodes/imgproc.html index bb80a8502b..550dc7a4fa 100644 --- a/layouts/shortcodes/imgproc.html +++ b/layouts/shortcodes/imgproc.html @@ -11,11 +11,11 @@ {{ errorf "Invalid image processing command: Must be one of Fit, Fill or Resize."}} {{ end }} {{ $image := .Scratch.Get "image" }} -
+
{{ with .Inner }} -
+

{{ . }}{{ with $image.Params.byline }}
{{ . | html }}
{{ end }}

-
+ {{ end }} -
\ No newline at end of file +