Switch device to content box-sizing