fixed styling issues in list component