diff --git a/frontend/src/app/features/worklog/components/activity-form/activity-form.component.scss b/frontend/src/app/features/worklog/components/activity-form/activity-form.component.scss index 0f77d02..9229bb9 100644 --- a/frontend/src/app/features/worklog/components/activity-form/activity-form.component.scss +++ b/frontend/src/app/features/worklog/components/activity-form/activity-form.component.scss @@ -17,6 +17,7 @@ input { color: var(--text-main); border-radius: var(--radius-sm); padding: 10px 12px; + min-height: 44px; outline: none; } @@ -41,6 +42,7 @@ button { color: var(--text-main); border-radius: var(--radius-sm); padding: 10px 16px; + min-height: 44px; font-weight: 600; cursor: pointer; } @@ -55,3 +57,23 @@ button:disabled { color: var(--text-muted); font-size: 0.88rem; } + +/* Tablets: two columns (Program|Team, Language|Activity, Subactivity|Note) */ +@media (min-width: 600px) and (max-width: 900px) { + .activity-form { + grid-template-columns: 1fr 1fr; + column-gap: 16px; + } + + button, + .form-locked-message { + grid-column: 1 / -1; + } +} + +/* Phones: the submit button uses the full width */ +@media (max-width: 480px) { + button { + justify-self: stretch; + } +} diff --git a/frontend/src/app/features/worklog/components/activity-table/activity-table.component.html b/frontend/src/app/features/worklog/components/activity-table/activity-table.component.html index 0966ed8..9e52183 100644 --- a/frontend/src/app/features/worklog/components/activity-table/activity-table.component.html +++ b/frontend/src/app/features/worklog/components/activity-table/activity-table.component.html @@ -1,32 +1,34 @@
| Program | -Team | -Language | -Activity | -Subactivity | -Start | -End | -Duration | -Note | + +
|---|
| Program | +Team | +Language | +Activity | +Subactivity | +Start | +End | +Duration | +Note | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ entry.program.name }} | -{{ entry.team.name }} | -{{ entry.language.name }} | -{{ entry.activity.name }} | -{{ entry.subactivity.name }} | -{{ entry.startedAt | date: 'shortTime' }} | -{{ entry.finishedAt ? (entry.finishedAt | date: 'shortTime') : '-' }} | -{{ entry.durationSeconds | duration }} | -{{ entry.note || '-' }} | +{{ entry.program.name }} | +{{ entry.team.name }} | +{{ entry.language.name }} | +{{ entry.activity.name }} | +{{ entry.subactivity.name }} | +{{ entry.startedAt | date: 'shortTime' }} | +{{ entry.finishedAt ? (entry.finishedAt | date: 'shortTime') : '-' }} | +{{ entry.durationSeconds | duration }} | +{{ entry.note || '-' }} |