Removed resizing logic as style fix worked