added class to unit fields
improved alignment
added style for units