Adjust the layout of card editor