Ionic 4 - set global max width

How can you restrict the max width of all views or a view in an ionic 4 project?

More a workaround than a solution, but to display my content with a max width on big screen I do the following: Seperate html files for desktop web build