Skip to content

Commit c8fdb28

Browse files
Merge pull request #3519 from shubhamkumar9199/fix/export-transactions-button-styling
WEB-925: Fix Generate Report button styling on savings export transactions page
2 parents 9ae0353 + 146438f commit c8fdb28

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

src/app/savings/savings-account-view/transactions-tab/export-transactions/export-transactions.component.html

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<form class="m-t-20 layout-column" [formGroup]="transactionsReportForm" (ngSubmit)="generate()">
1010
<div class="layout-row layout-align-center gap-3percent">
11-
<mat-form-field class="flex-30" (click)="fromDatePicker.open()">
11+
<mat-form-field class="flex-fill" (click)="fromDatePicker.open()">
1212
<mat-label>{{ 'labels.inputs.From Date' | translate }}</mat-label>
1313
<input
1414
matInput
@@ -26,7 +26,7 @@
2626
</mat-error>
2727
</mat-form-field>
2828

29-
<mat-form-field class="flex-30" (click)="toDatePicker.open()">
29+
<mat-form-field class="flex-fill" (click)="toDatePicker.open()">
3030
<mat-label>{{ 'labels.inputs.To Date' | translate }}</mat-label>
3131
<input
3232
matInput
@@ -45,10 +45,12 @@
4545
</mat-form-field>
4646
</div>
4747

48-
<div class="generate-button layout-row layout-xs-column layout-align-center gap-5percent">
49-
<button type="button" mat-raised-button [routerLink]="['../']">{{ 'labels.buttons.Cancel' | translate }}</button>
48+
<div class="button-row layout-row layout-xs-column layout-align-center gap-5px">
49+
<button type="button" mat-raised-button [routerLink]="['../']">
50+
{{ 'labels.buttons.Cancel' | translate }}
51+
</button>
5052
<button mat-raised-button color="primary" [disabled]="!transactionsReportForm.valid">
51-
<fa-icon icon="cogs" class="m-r-10"></fa-icon>{{ 'labels.buttons.Generate Report' | translate }} &nbsp;
53+
<fa-icon icon="cogs" size="sm" class="m-r-10"></fa-icon>{{ 'labels.buttons.Generate Report' | translate }}
5254
</button>
5355
</div>
5456
</form>

src/app/savings/savings-account-view/transactions-tab/export-transactions/export-transactions.component.scss

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
77
*/
88

9-
.generate-button {
10-
max-height: 2%;
11-
padding: 1% 0 2% 6%;
9+
.button-row {
10+
padding: 1rem 0;
1211
align-self: center;
1312
}

0 commit comments

Comments
 (0)