more css fixes for state template