瀏覽代碼

bugfixes

master
FlorianEisenmenger 1 年之前
父節點
當前提交
8315a080a9
共有 3 個檔案被更改,包括 3 行新增3 行删除
  1. +1
    -1
      gfi-ihk-2024/stories/sections/marketingheader/MarketingHeaderComponent.js
  2. +1
    -1
      gfi-ihk-2024/stories/sections/marketingheader/marketingheader.scss
  3. +1
    -1
      gfi-ihk-2024/stories/sections/slider/slider.js

+ 1
- 1
gfi-ihk-2024/stories/sections/marketingheader/MarketingHeaderComponent.js 查看文件

@@ -138,7 +138,7 @@ export const createMarketingHeader =
createElement('span', ['kicker'], slideData.kicker, textBox); createElement('span', ['kicker'], slideData.kicker, textBox);
} }
if (slideData.headline && slideData.headline.length > 0) { 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) { if (slideData.kicker && slideData.kicker.length > 0) {
createElement('p', [], slideData.copy, textBox); createElement('p', [], slideData.copy, textBox);


+ 1
- 1
gfi-ihk-2024/stories/sections/marketingheader/marketingheader.scss 查看文件

@@ -767,7 +767,7 @@ section.marketingheader{
border-bottom:0; border-bottom:0;
background-color: white; background-color: white;
h3{
h3, .like-h2 {
margin-top: 4px; margin-top: 4px;
margin-bottom: 8px; margin-bottom: 8px;
} }


+ 1
- 1
gfi-ihk-2024/stories/sections/slider/slider.js 查看文件

@@ -55,7 +55,7 @@ class IHKSlider {
initSlides() { initSlides() {
this.slides.each(function (i) { this.slides.each(function (i) {
const slide = $(this).attr('data-index', 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 p = h3.next('p');
const dotsString = '…' const dotsString = '…'




Loading…
取消
儲存