Move css overflow properties to stylesheet classes