From 8315a080a9644e7f86907956e33ecf2749ae9c9a Mon Sep 17 00:00:00 2001 From: FlorianEisenmenger Date: Mon, 12 May 2025 16:34:46 +0200 Subject: [PATCH] bugfixes --- .../sections/marketingheader/MarketingHeaderComponent.js | 2 +- .../stories/sections/marketingheader/marketingheader.scss | 2 +- gfi-ihk-2024/stories/sections/slider/slider.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gfi-ihk-2024/stories/sections/marketingheader/MarketingHeaderComponent.js b/gfi-ihk-2024/stories/sections/marketingheader/MarketingHeaderComponent.js index dedc3d9..bc1266e 100644 --- a/gfi-ihk-2024/stories/sections/marketingheader/MarketingHeaderComponent.js +++ b/gfi-ihk-2024/stories/sections/marketingheader/MarketingHeaderComponent.js @@ -138,7 +138,7 @@ export const createMarketingHeader = createElement('span', ['kicker'], slideData.kicker, textBox); } if (slideData.headline && slideData.headline.length > 0) { - createElement('h3', ['like-h2'], slideData.headline, textBox); + createElement('div', ['like-h2'], slideData.headline, textBox); } if (slideData.kicker && slideData.kicker.length > 0) { createElement('p', [], slideData.copy, textBox); diff --git a/gfi-ihk-2024/stories/sections/marketingheader/marketingheader.scss b/gfi-ihk-2024/stories/sections/marketingheader/marketingheader.scss index 62ff2da..ec368d6 100644 --- a/gfi-ihk-2024/stories/sections/marketingheader/marketingheader.scss +++ b/gfi-ihk-2024/stories/sections/marketingheader/marketingheader.scss @@ -767,7 +767,7 @@ section.marketingheader{ border-bottom:0; background-color: white; - h3{ + h3, .like-h2 { margin-top: 4px; margin-bottom: 8px; } diff --git a/gfi-ihk-2024/stories/sections/slider/slider.js b/gfi-ihk-2024/stories/sections/slider/slider.js index 2d1ebad..86a36b4 100644 --- a/gfi-ihk-2024/stories/sections/slider/slider.js +++ b/gfi-ihk-2024/stories/sections/slider/slider.js @@ -55,7 +55,7 @@ class IHKSlider { initSlides() { this.slides.each(function (i) { const slide = $(this).attr('data-index', i); - const h3 = slide.find('h3'); + const h3 = slide.find('h3, .like-h2, .like-h3').first(); const p = h3.next('p'); const dotsString = '…'