瀏覽代碼

fix

master
FlorianEisenmenger 7 小時之前
父節點
當前提交
42ebfbf8a9
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      gfi-ihk-2024/stories/sections/slider/slider.js

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

@@ -106,7 +106,10 @@ class IHKSlider {

this.prevButton = $('<button class="prev" aria-label="Zurück" />');
this.nextButton = $('<button class="next" aria-label="Weiter" />');
const tabsWrapper = $('<ul class="slider-tabs variant-base" />');
const tabsWrapper = $('<ul class="slider-tabs" />');
if (!this.section.closest('.steps').length) {
tabsWrapper.addClass('variant-base');
}
const countWrapper = $('<span class="count" />')
.html('/<span class="total">' + this.slides.length + '</span></span>')
.prepend(this.count);


Loading…
取消
儲存