Component2 and index css fixes