File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1353,6 +1353,9 @@ class FastSearchCard extends HTMLElement {
13531353 #tab-content-container.history-active {
13541354 padding: 0px 10px;
13551355 }
1356+ #tab-content-container.shortcuts-active {
1357+ padding: 0px 10px;
1358+ }
13561359 }
13571360
13581361 .icon-content {
@@ -10121,11 +10124,13 @@ class FastSearchCard extends HTMLElement {
1012110124 const tabContainer = this . shadowRoot . querySelector ( '#tab-content-container' ) ;
1012210125
1012310126 // Alle history-spezifischen Klassen entfernen
10124- tabContainer . classList . remove ( 'history-active' ) ;
10125-
10126- // Wenn History Tab geklickt wird, Klasse hinzufügen
10127+ tabContainer . classList . remove ( 'history-active' , 'shortcuts-active' ) ;
10128+
10129+ // Entsprechende Klasse hinzufügen
1012710130 if ( targetId === 'history' ) {
1012810131 tabContainer . classList . add ( 'history-active' ) ;
10132+ } else if ( targetId === 'shortcuts' ) {
10133+ tabContainer . classList . add ( 'shortcuts-active' ) ;
1012910134 }
1013010135
1013110136 // Sync beide Tab-Container
You can’t perform that action at this time.
0 commit comments