diff --git a/src/app/app-provider-admin/provider-admin/configurations/update-village/update-village.component.css b/src/app/app-provider-admin/provider-admin/configurations/update-village/update-village.component.css index 321f8be5..3799b710 100644 --- a/src/app/app-provider-admin/provider-admin/configurations/update-village/update-village.component.css +++ b/src/app/app-provider-admin/provider-admin/configurations/update-village/update-village.component.css @@ -1,3 +1,8 @@ +/* Keep the Update button and result clear of the fixed 30px app footer */ +.update-village-page { + padding-bottom: 70px; +} + .screen-note { font-size: 12px; color: rgba(0, 0, 0, 0.6); @@ -14,10 +19,44 @@ color: #ef6c00; } +.mapping-table-wrapper { + overflow-x: auto; + -webkit-overflow-scrolling: touch; +} + +/* Scroll horizontally on narrow screens instead of squashing the 9 columns */ .mapping-table { width: 100%; + min-width: 900px; +} + +.mapping-table th.mat-mdc-header-cell { + white-space: nowrap; +} + +.mapping-table th.mat-mdc-header-cell, +.mapping-table td.mat-mdc-cell { + padding: 8px 12px; +} + +.mapping-table td.mat-mdc-cell { + word-break: break-word; } .selected-row { background-color: rgba(76, 175, 80, 0.12); } + +@media (max-width: 575.98px) { + h4 { + font-size: 18px; + } + + h5 { + font-size: 15px; + } + + .update-button { + width: 100%; + } +} diff --git a/src/app/app-provider-admin/provider-admin/configurations/update-village/update-village.component.html b/src/app/app-provider-admin/provider-admin/configurations/update-village/update-village.component.html index 7ab67fc5..b097e77c 100644 --- a/src/app/app-provider-admin/provider-admin/configurations/update-village/update-village.component.html +++ b/src/app/app-provider-admin/provider-admin/configurations/update-village/update-village.component.html @@ -1,6 +1,6 @@ -
+
-
+

Update Village

Select a user, pick the work location mapping and the village to @@ -9,7 +9,7 @@

Update Village

-
+
Select User Update Village
-
+
User Details
-
+
User ID
-
+
Username
-
+
Name
-
+
Employee ID User Details
-
+
Current Village Mappings

Loading mappings...

Current Village Mappings

Current Village Mappings
-
+
Village to Replace
-
+
Old Village Village to Replace
-
+
New Village
-
+
State New Village
-
+
District New Village
-
+
Block New Village
@@ -259,8 +259,8 @@
New Village
-
- +
+ Village New Village
-
+

{{ validationMessage }}

-
+
-
+
Update complete

Mapping {{ updateResult.uSRMappingID }}: