set edit and preview to a fixed height