Skip to content

Commit b7917b4

Browse files
authored
Update fast-search-card.js
1 parent 3402b2e commit b7917b4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

dist/fast-search-card.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8191,8 +8191,6 @@ class FastSearchCard extends HTMLElement {
81918191
`;
81928192
}
81938193

8194-
8195-
// 2. Ändere getDetailRightPaneHTML - füge tabsHTML am Anfang hinzu
81968194
getDetailRightPaneHTML(item) {
81978195
const controlsHTML = this.getDeviceControlsHTML(item);
81988196
const tabsConfig = this._config.detail_tabs || [
@@ -8209,6 +8207,15 @@ class FastSearchCard extends HTMLElement {
82098207
</div>
82108208
</div>
82118209
`;
8210+
8211+
const mobileTabsHTML = `
8212+
<div class="detail-tabs-container mobile-tabs">
8213+
<div class="detail-tabs">
8214+
<span class="tab-slider"></span>
8215+
${tabsConfig.map(tab => `<a href="#" class="detail-tab ${tab.default ? 'active' : ''}" data-tab="${tab.id}" title="${tab.title}">${tab.svg}</a>`).join('')}
8216+
</div>
8217+
</div>
8218+
`;
82128219

82138220
return `
82148221
${desktopTabsHTML}

0 commit comments

Comments
 (0)