remove inline style from components, closes #302