updated styles to prevent overflow