devices elements are now relative to the parent size