Apply a natural box layout model globally