diff --git a/CHANGELOG.md b/CHANGELOG.md index eebd9f5..8c53bcd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ > All notable changes to this project will be documented in this file. +## [0.7.1] - 2022-11-06 + +- Use select instead of inputs in transportation problem tabs +- Fix assignment problem page styles +- Fix spelling on the home page & and add new example +- Fix white background at the top in Safari browsers + ## [0.7.0] - 2022-10-30 - Add second phase support for transportation problem on API and UI side diff --git a/apps/frontend/src/app/pages/assignment-problem/assignment-problem.style.scss b/apps/frontend/src/app/pages/assignment-problem/assignment-problem.style.scss index d31c4bc..69a4e01 100644 --- a/apps/frontend/src/app/pages/assignment-problem/assignment-problem.style.scss +++ b/apps/frontend/src/app/pages/assignment-problem/assignment-problem.style.scss @@ -1,7 +1,31 @@ @import 'libs/shared/styles/colors'; -form { - padding: 16px env(safe-area-inset-right) 16px 16px; +:host { + .content-wrapper { + padding: 8px calc(env(safe-area-inset-right) + 8px) 8px 8px; + } + + section { + display: flex; + flex-wrap: wrap; + align-items: center; + justify-content: center; + + article { + display: flex; + flex-direction: column; + } + + article.assignment-table-wrapper { + display: grid; + padding: 8px; + overflow-x: auto; + } + } + + mat-form-field { + margin: 8px; + } mat-hint { display: block; @@ -13,20 +37,17 @@ form { } } - .assignment-table-wrapper { - padding: 8px 0; - overflow-y: auto; + button[type='submit'] { + margin: 8px; } -} - -button[type='submit'] { - margin: 8px 16px 0 0; -} -.wrapper { - padding-bottom: 16px; -} + .wrapper { + display: flex; + justify-content: center; + padding: 8px; + } -.result-table { - padding: 8px; + .result-table { + padding: 8px 0; + } } diff --git a/apps/frontend/src/app/pages/assignment-problem/assignment-problem.template.html b/apps/frontend/src/app/pages/assignment-problem/assignment-problem.template.html index e80a8d4..04ab75a 100644 --- a/apps/frontend/src/app/pages/assignment-problem/assignment-problem.template.html +++ b/apps/frontend/src/app/pages/assignment-problem/assignment-problem.template.html @@ -1,4 +1,4 @@ -