fix some style issues on uni machines - use % instead of em in some cases