Removed all mr-5, mb-5 and basis tailwind classes.

Will soon remove tailwind totally.
This commit is contained in:
2025-07-10 10:58:48 +00:00
parent d80d097c0e
commit 8ad9e6562c
75 changed files with 466 additions and 354 deletions

View File

@ -1,8 +0,0 @@
.right {
display: flex;
justify-content: flex-end;
}
.spacer {
flex: 1 1 auto;
}

View File

@ -13,8 +13,8 @@
</mat-card-header>
<mat-card-content>
<form [formGroup]="form" class="flex flex-col">
<div class="flex flex-row justify-around content-start items-start sm:max-lg:flex-col">
<mat-form-field class="flex-auto mr-5">
<div class="row-container sm:max-lg:flex-col">
<mat-form-field class="flex-auto">
<mat-label>Start Date</mat-label>
<input
matInput
@ -39,8 +39,8 @@
<mat-datepicker #finishDate></mat-datepicker>
</mat-form-field>
</div>
<div class="flex flex-row justify-around content-start items-start sm:max-lg:flex-col">
<mat-form-field class="flex-auto basis-4/5 mr-5">
<div class="row-container sm:max-lg:flex-col">
<mat-form-field class="flex-auto basis-4-5">
<mat-label>Cashier</mat-label>
<mat-select formControlName="cashier">
<mat-option>-- Cashier --</mat-option>
@ -51,7 +51,7 @@
}
</mat-select>
</mat-form-field>
<button mat-raised-button class="flex-auto basis-1/5" color="primary" (click)="show()">Show</button>
<button mat-raised-button class="flex-auto basis-1-5" color="primary" (click)="show()">Show</button>
</div>
</form>
<mat-table #table [dataSource]="dataSource" aria-label="Elements">

View File

@ -0,0 +1,11 @@
.right
display: flex
justify-content: flex-end
.spacer
flex: 1 1 auto
.row-container
display: flex
flex-direction: row
gap: 20px // sets 20px space between all children

View File

@ -23,7 +23,7 @@ import { CashierReportService } from './cashier-report.service';
@Component({
selector: 'app-cashier-report',
templateUrl: './cashier-report.component.html',
styleUrls: ['./cashier-report.component.css'],
styleUrls: ['./cashier-report.component.sass'],
imports: [
CurrencyPipe,
MatButtonModule,