updating css to not break selection