diff --git a/HRM.UI/ClientApp/src/app/ess/component-uploader/component-uploader.component.css b/HRM.UI/ClientApp/src/app/ess/component-uploader/component-uploader.component.css
index a578fe7..6478951 100644
--- a/HRM.UI/ClientApp/src/app/ess/component-uploader/component-uploader.component.css
+++ b/HRM.UI/ClientApp/src/app/ess/component-uploader/component-uploader.component.css
@@ -4,9 +4,7 @@
.cu-page {
display: flex;
flex-direction: column;
- gap: 20px;
- padding: 0 10px 20px 10px;
- width: 100%;
+ gap: 15px;
box-sizing: border-box;
font-family: var(--gh-font);
color: var(--gh-tt);
@@ -14,7 +12,7 @@
.cu-top {
display: flex;
- gap: 20px;
+ gap: 15px;
align-items: stretch;
width: 100%;
}
@@ -41,8 +39,13 @@
Every sidebar card keeps only its content height — Guidelines no longer stretches
into empty space. The taller sidebar makes .cu-top stretch the main card to match.
(Desktop only: the ≤900px wrap layout below keeps its own flex rules.) */
+/* Desktop: main card and sidebar always end on the same line. The drop zone is
+ sized so the main card is normally no taller than the sidebar (then .cu-top
+ stretches it and the drop zone takes the extra height); if the main card grows
+ taller, Guidelines stretches so the sidebar still ends level with it. */
@media (min-width: 901px) {
- .cu-sidebar .cu-sidebar-card:last-child { flex: 0 0 auto; }
+ .cu-sidebar .cu-sidebar-card:last-child { flex: 1 0 auto; }
+ .cu-step-file .cu-dropzone { min-height: 150px; }
}
/* ── card shell ── */
@@ -106,6 +109,13 @@
.cu-banner-closed { background: #FEF3C7; color: var(--gh-warn); border: 1px solid #FDE68A; }
.cu-banner-locked { background: #FEE2E2; color: var(--gh-dnh); border: 1px solid #FECACA; }
.cu-banner svg { flex-shrink: 0; }
+/* banner placed in the actions row, directly left of the Upload button */
+.cu-banner-inline { margin: 0; flex: 0 1 auto; min-height: 42px; box-sizing: border-box; }
+.cu-actions-right {
+ display: flex; align-items: center; justify-content: flex-end; gap: 10px;
+ flex: 1 1 auto; min-width: 0;
+}
+.cu-actions-right .cu-btn-primary { flex-shrink: 0; }
/* ── steps ── */
.cu-step { padding: 15px 20px; border-bottom: 1px solid var(--gh-bo); }
@@ -463,7 +473,8 @@
}
.cu-search:focus { border-color: var(--gh-btn); }
-.cu-modal-table { overflow-y: auto; }
+.cu-modal-table { overflow-y: auto; min-height: 0; }
+
/* ── responsive ── */
@media (max-width: 1100px) { .cu-sidebar { width: 264px; } }
diff --git a/HRM.UI/ClientApp/src/app/ess/component-uploader/component-uploader.component.html b/HRM.UI/ClientApp/src/app/ess/component-uploader/component-uploader.component.html
index f7dfd3a..4fdab03 100644
--- a/HRM.UI/ClientApp/src/app/ess/component-uploader/component-uploader.component.html
+++ b/HRM.UI/ClientApp/src/app/ess/component-uploader/component-uploader.component.html
@@ -1,6 +1,6 @@
| EXCEL ROW | EMPLOYEE ID | MESSAGE |
|---|---|---|
| {{ r.rowNo }} | -{{ r.employeeNo }} | -{{ r.message }} | -
| COMPONENT NAME | UPLOAD DATE | SALARY MONTH | -APPROVER | STATUS | ACTION | -
|---|---|---|---|---|---|
| {{ row.description }} | -{{ row.uploadedDate ? (row.uploadedDate | date:'dd MMM yyyy, hh:mm a') : '—' }} | -{{ row.salaryMonth ? (row.salaryMonth | date:'MMM yyyy') : '—' }} | -{{ row.approver }} | -- - {{ row.status }} - - | -
-
-
- @if (row.status !== 'Approved') {
-
- }
-
- |
-
| You haven't uploaded any component yet. | -|||||
| EMPLOYEE NO | EMPLOYEE NAME | AMOUNT |
|---|---|---|
| {{ row.employeeNo }} | -{{ row.name }} | -{{ row.amount != null ? (row.amount | number:'1.0-2') : '—' }} | -
| No rows to show. | -||