File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -1350,7 +1350,7 @@ class FastSearchCard extends HTMLElement {
13501350
13511351 /* Mobile: History Tab spezifisches Padding */
13521352 @media (max-width: 768px) {
1353- .detail-tab-content[data-tab-content="history"] #tab-content-container {
1353+ #tab-content-container.history-active {
13541354 padding: 0px 10px;
13551355 }
13561356 }
@@ -10116,6 +10116,17 @@ class FastSearchCard extends HTMLElement {
1011610116 tab . addEventListener ( 'click' , ( e ) => {
1011710117 e . preventDefault ( ) ;
1011810118 const targetId = tab . dataset . tab ;
10119+
10120+ // Tab-Content Container finden
10121+ const tabContainer = this . shadowRoot . querySelector ( '#tab-content-container' ) ;
10122+
10123+ // Alle history-spezifischen Klassen entfernen
10124+ tabContainer . classList . remove ( 'history-active' ) ;
10125+
10126+ // Wenn History Tab geklickt wird, Klasse hinzufügen
10127+ if ( targetId === 'history' ) {
10128+ tabContainer . classList . add ( 'history-active' ) ;
10129+ }
1011910130
1012010131 // Sync beide Tab-Container
1012110132 [ desktopTabsContainer , mobileTabsContainer ] . forEach ( container => {
You can’t perform that action at this time.
0 commit comments