From 9568dcfacb5ef680572000e97229f961ec8b4466 Mon Sep 17 00:00:00 2001 From: Hugo Peek Date: Thu, 10 Jun 2021 11:40:26 +0800 Subject: [PATCH] Set default responsive image scaling value to 51 The old default of 1 means blurry pictures in case something is misaligned. 50 is an acceptable median, 51 still makes it easy to spot that no dedicated value was set. --- core/components/romanesco/docs/changelog.md | 1 + .../chunks/01_atoms/a_images/imgresponsivescale.chunk.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/core/components/romanesco/docs/changelog.md b/core/components/romanesco/docs/changelog.md index 7429bd54..459abf15 100644 --- a/core/components/romanesco/docs/changelog.md +++ b/core/components/romanesco/docs/changelog.md @@ -4,6 +4,7 @@ Released on ... Fixes and improvements: +- Set default responsive image scaling value to 51 - Fix email not being sent when using dynamic emailTo (and empty regular field) - Make sure placeholder prefixes are unique when generating background CSS - Properly display MODX outer tags from Markdown files (if they've been split) diff --git a/core/components/romanesco/elements/chunks/01_atoms/a_images/imgresponsivescale.chunk.tpl b/core/components/romanesco/elements/chunks/01_atoms/a_images/imgresponsivescale.chunk.tpl index 75cc04f7..7ba6d7f0 100644 --- a/core/components/romanesco/elements/chunks/01_atoms/a_images/imgresponsivescale.chunk.tpl +++ b/core/components/romanesco/elements/chunks/01_atoms/a_images/imgresponsivescale.chunk.tpl @@ -35,5 +35,5 @@ [[$imgResponsiveScaleTheme]] - &default=`1` + &default=`51` ]] \ No newline at end of file