tidy up compact state css styling