[FIX] Reduce search input to fit with active category

I already made a pull request for this fix, but I think it was overwritten with the scss refactoring. I fix it again. :)