Fixed an issue by creating relative styling