Improve CSS for query menu selection