bastislack / highline-freestyle

Webapp for Highline Freestyle
GNU General Public License v3.0
10 stars 9 forks source link

feat(ui): improve layout in DefaultLayout with Section component #327

Closed JulianDietzel closed 7 months ago

JulianDietzel commented 7 months ago

Combines two small but important changes to the layout:

  1. In the DefaultLayout the content did not fill the entire screen. This is now fixed
  2. In order to limit the horizontal size of the content of pages consistently across all pages a new Section component was added. This can be used by a developer to add their content into. The horizontal size scales with the screen size (while adding padding) until a certain point (only reached on larger screens such as large tablets or on desktops) where the size stays fixed and the content is centered.