maybe some of this could go into the css (so we have less code and I don't feel weird about us not testing this stuff)