Fix css on History and Search pages