File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff 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}
You can’t perform that action at this time.
0 commit comments