Adding border and focus state to Code fields, fixes #826