When there's not enough room for the content

hi all,

we want to deliver a set of examples for our DEV teams to help them to handle content vs container topic.

Our starter pack in terms of scenarios are:

  1. content and form controls
  2. content and lists
  3. content and search input field
  4. content and standard containers (ex. DIV, LI etc)

I tried to summarise our concepts in this sketch:

According your experience and your current projects (web and native) how you are handling such topic?