alignment

This commit is contained in:
Mohaimen Hasan 2026-11-23 15:21:42 +06:00
parent a9b2f79aad
commit b7520c33c8
5 changed files with 9 additions and 13 deletions

View File

@ -1,9 +0,0 @@
/* Overtime Parameterization: a single card around the grid (layout only, palette colours) */
.otp-card {
margin: 0 0 12px;
padding: 16px;
background: var(--gh-tb);
border: 1px solid var(--gh-bo);
border-radius: 10px;
box-shadow: 0 1px 3px color-mix(in srgb, var(--gh-sb) 8%, transparent);
}

View File

@ -1,6 +1,7 @@
<app-loading-panel></app-loading-panel>
<!-- One clean card around the grid (was card inside card); the grid and all its bindings are unchanged. -->
<div class="otp-card">
<!-- Same single card as Overtime Basic Entry (card card-w-title > col-12); the grid and its bindings are unchanged. -->
<div class="card card-w-title">
<div class="col-12">
<kendo-grid [data]="_termParams" (edit)="editHandler($event)" (remove)="removeHandler($event)"
(add)="addHandler()">
<ng-template kendoGridToolbarTemplate>
@ -36,4 +37,5 @@
</kendo-grid-command-column>
</kendo-grid>
</div>
</div>

View File

@ -38,7 +38,7 @@ export class LoanBasicDataComponent implements OnInit {
this.msv.listViewColumn.push(new BasicMasterListColumn('Loan Name', 'Name', EnumColumnDataTypes.String));
this.msv.entryFrom.formHeight = 385;
this.msv.entryFrom.formWidth = 550;
this.msv.entryFrom.formWidth = 600;
this.msv.entryFrom.caption = 'Loan Basic Entry';
this.msv.entryFrom.iDColumnName = 'id';

View File

@ -37,7 +37,7 @@ export class TrainingNewComponent {
//this.msv.listViewColumn.push(new BasicMasterListColumn('Status', 'Status', EnumColumnDataTypes.String));
this.msv.entryFrom.formHeight = 350;
this.msv.entryFrom.formWidth = 550;
this.msv.entryFrom.formWidth = 650;
this.msv.entryFrom.caption = 'Training';
this.msv.entryFrom.iDColumnName = 'Id';

View File

@ -47,6 +47,9 @@ export class TrainingInstituteComponent implements OnInit {
this.msv.listViewColumn.push(new BasicMasterListColumn('Name', 'Name', EnumColumnDataTypes.String));
this.msv.searchPayrolltype = true;
this.msv.entryFrom.formHeight = 350;
this.msv.entryFrom.formWidth = 650;
if (this.trainingType == EnumTrainingType.Profile) {
this.msv.dataGetFunctionName = 'GetInstitution';
this.msv.caption = 'Institution';