From 9732120569a009527710ef40f0a952bdf9d0c503 Mon Sep 17 00:00:00 2001 From: Ruslan Matkovsky Date: Tue, 6 Aug 2024 11:17:11 +0200 Subject: [PATCH 1/3] [templates/nextjs-sxa]: Rendering caption of image component has been fixed --- .../nextjs-sxa/src/assets/sass/components/_component-image.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/sass/components/_component-image.scss b/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/sass/components/_component-image.scss index aa19d6901e..6ba173f4b1 100644 --- a/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/sass/components/_component-image.scss +++ b/packages/create-sitecore-jss/src/templates/nextjs-sxa/src/assets/sass/components/_component-image.scss @@ -9,7 +9,7 @@ display: inline-block; max-width: 100%; } - .image-caption { + span { display: block; font-style: italic; font-size: $font-small; From 4c44629dc3d8421c46fc7fe97537932b43a1dcbf Mon Sep 17 00:00:00 2001 From: Ruslan Matkovsky Date: Tue, 6 Aug 2024 11:20:53 +0200 Subject: [PATCH 2/3] CHANGELOG has been changed --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index c52e1a0870..5784b8d375 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ Our versioning strategy is as follows: ### 🐛 Bug Fixes +* `[templates/nextjs-sxa]` The caption of image component has been fixed. ([#1874](https://github.com/Sitecore/jss/pull/1874)) + ### 🎉 New Features & Improvements * `[create-sitecore-jss]` Introduced "node-xmcloud-proxy" addon ([#1863](https://github.com/Sitecore/jss/pull/1863)) From f31ae7abff58d0d1086ad7b2cca124705e221dd0 Mon Sep 17 00:00:00 2001 From: Ruslan Matkovskyi Date: Wed, 7 Aug 2024 16:03:19 +0200 Subject: [PATCH 3/3] [templates/angular-xmcloud] The styles of image component has been fixed --- .../src/assets/styles/sass/components/_component-image.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-sitecore-jss/src/templates/angular-xmcloud/src/assets/styles/sass/components/_component-image.scss b/packages/create-sitecore-jss/src/templates/angular-xmcloud/src/assets/styles/sass/components/_component-image.scss index f37254504b..a0a6d94abe 100644 --- a/packages/create-sitecore-jss/src/templates/angular-xmcloud/src/assets/styles/sass/components/_component-image.scss +++ b/packages/create-sitecore-jss/src/templates/angular-xmcloud/src/assets/styles/sass/components/_component-image.scss @@ -9,7 +9,7 @@ display: inline-block; max-width: 100%; } - .image-caption { + span { display: block; font-style: italic; font-size: $font-small;