update css so that dropdown does not break the layout