mirror of
https://github.com/ranaldsgift/KefinTweaks.git
synced 2026-11-05 15:52:47 +01:00
Fix issue with search categories not working
This commit is contained in:
+3
-14
@@ -19,27 +19,16 @@ div#smart-search-wrapper:not([style*="display: none"]) ~ #jellyseerr-search-icon
|
||||
right: unset;
|
||||
}
|
||||
|
||||
.inputContainer.flex-grow:has(.smart-search-wrapper) {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 30px;
|
||||
gap: 1em;
|
||||
}
|
||||
|
||||
.smart-search-mode .searchFieldsInner {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div#searchPage {
|
||||
padding-top: 3rem !important;
|
||||
}
|
||||
|
||||
@media (min-width: 600px) {
|
||||
div#searchPage {
|
||||
padding-top: 5rem !important;
|
||||
}
|
||||
main.MuiBox-root div#searchPage {
|
||||
padding-top: 2rem !important;
|
||||
}
|
||||
|
||||
div#searchPage {
|
||||
padding-top: 5rem !important;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
+7
-7
@@ -533,9 +533,9 @@
|
||||
function updateButtonStates(activeType) {
|
||||
// Remove active class from all buttons
|
||||
smartAllBtn.classList.remove('active','button-submit');
|
||||
smartCoreBtn.classList.remove('active','button-submit');
|
||||
smartMusicBtn.classList.remove('active','button-submit');
|
||||
smartBooksBtn.classList.remove('active','button-submit');
|
||||
smartCoreBtn?.classList.remove('active','button-submit');
|
||||
smartMusicBtn?.classList.remove('active','button-submit');
|
||||
smartBooksBtn?.classList.remove('active','button-submit');
|
||||
|
||||
if (smartRequestBtn) {
|
||||
smartRequestBtn.classList.remove('active','button-submit');
|
||||
@@ -545,13 +545,13 @@
|
||||
if (activeType === 'all') {
|
||||
smartAllBtn.classList.add('active','button-submit');
|
||||
} else if (activeType === 'videos') {
|
||||
smartCoreBtn.classList.add('active','button-submit');
|
||||
smartCoreBtn?.classList.add('active','button-submit');
|
||||
} else if (activeType === 'music') {
|
||||
smartMusicBtn.classList.add('active','button-submit');
|
||||
smartMusicBtn?.classList.add('active','button-submit');
|
||||
} else if (activeType === 'books') {
|
||||
smartBooksBtn.classList.add('active','button-submit');
|
||||
smartBooksBtn?.classList.add('active','button-submit');
|
||||
} else if (activeType === 'request' && smartRequestBtn) {
|
||||
smartRequestBtn.classList.add('active','button-submit');
|
||||
smartRequestBtn?.classList.add('active','button-submit');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user