Removed all mr-5, mb-5 and basis tailwind classes.
Will soon remove tailwind totally.
This commit is contained in:
@ -1,8 +0,0 @@
|
||||
.right {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.spacer {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
@ -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">
|
||||
|
||||
11
bookie/src/app/cashier-report/cashier-report.component.sass
Normal file
11
bookie/src/app/cashier-report/cashier-report.component.sass
Normal 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
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user