Fixed the navbar to the top.

Made the font of the inputs in vouchers bigger by 25%
Made the narration textarea minimum 5 lines
Changed the favicon to the old favicon
This commit is contained in:
tanshu 2018-06-13 11:49:34 +05:30
parent 8c9a1a2191
commit bf14b46b15
15 changed files with 48 additions and 7 deletions

View File

@ -12,3 +12,13 @@
Every toolbar row uses a flexbox row layout. */ Every toolbar row uses a flexbox row layout. */
flex: 1 1 auto; flex: 1 1 auto;
} }
.fixed-to-top {
position: fixed;
top: 0;
z-index: 999;
}
.toolbar-fix {
height: 64px;
}

View File

@ -1,4 +1,4 @@
<mat-toolbar> <mat-toolbar class="fixed-to-top">
<button <button
type="button" type="button"
aria-label="Toggle sidenav" aria-label="Toggle sidenav"
@ -87,3 +87,4 @@
<mat-icon>account_box</mat-icon> <mat-icon>account_box</mat-icon>
Login</a> Login</a>
</mat-toolbar> </mat-toolbar>
<div class="toolbar-fix"></div>

View File

@ -30,3 +30,7 @@
left: 60px; left: 60px;
top: 0; top: 0;
} }
mat-form-field.mat-form-field {
font-size: 1.25em;
}

View File

@ -100,7 +100,8 @@
</mat-table> </mat-table>
<mat-form-field> <mat-form-field>
<mat-label>Narration</mat-label> <mat-label>Narration</mat-label>
<textarea matInput placeholder="Narration" formControlName="narration"></textarea> <textarea matInput matTextareaAutosize matAutosizeMinRows="5" placeholder="Narration"
formControlName="narration"></textarea>
</mat-form-field> </mat-form-field>
</form> </form>
</mat-card-content> </mat-card-content>

View File

@ -30,3 +30,7 @@
left: 60px; left: 60px;
top: 0; top: 0;
} }
mat-form-field.mat-form-field {
font-size: 1.25em;
}

View File

@ -78,7 +78,8 @@
</mat-table> </mat-table>
<mat-form-field> <mat-form-field>
<mat-label>Narration</mat-label> <mat-label>Narration</mat-label>
<textarea matInput placeholder="Narration" formControlName="narration"></textarea> <textarea matInput matTextareaAutosize matAutosizeMinRows="5" placeholder="Narration"
formControlName="narration"></textarea>
</mat-form-field> </mat-form-field>
<div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center"> <div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center">
<div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files"> <div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files">

View File

@ -30,3 +30,7 @@
left: 60px; left: 60px;
top: 0; top: 0;
} }
mat-form-field.mat-form-field {
font-size: 1.25em;
}

View File

@ -80,7 +80,8 @@
</mat-table> </mat-table>
<mat-form-field> <mat-form-field>
<mat-label>Narration</mat-label> <mat-label>Narration</mat-label>
<textarea matInput placeholder="Narration" formControlName="narration"></textarea> <textarea matInput matTextareaAutosize matAutosizeMinRows="5" placeholder="Narration"
formControlName="narration"></textarea>
</mat-form-field> </mat-form-field>
<div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center"> <div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center">
<div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files"> <div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files">

View File

@ -30,3 +30,7 @@
left: 60px; left: 60px;
top: 0; top: 0;
} }
mat-form-field.mat-form-field {
font-size: 1.25em;
}

View File

@ -104,7 +104,8 @@
</mat-table> </mat-table>
<mat-form-field> <mat-form-field>
<mat-label>Narration</mat-label> <mat-label>Narration</mat-label>
<textarea matInput placeholder="Narration" formControlName="narration"></textarea> <textarea matInput matTextareaAutosize matAutosizeMinRows="5" placeholder="Narration"
formControlName="narration"></textarea>
</mat-form-field> </mat-form-field>
<div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center"> <div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center">
<div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files"> <div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files">

View File

@ -30,3 +30,7 @@
left: 60px; left: 60px;
top: 0; top: 0;
} }
mat-form-field.mat-form-field {
font-size: 1.25em;
}

View File

@ -116,7 +116,8 @@
</mat-table> </mat-table>
<mat-form-field> <mat-form-field>
<mat-label>Narration</mat-label> <mat-label>Narration</mat-label>
<textarea matInput placeholder="Narration" formControlName="narration"></textarea> <textarea matInput matTextareaAutosize matAutosizeMinRows="5" placeholder="Narration"
formControlName="narration"></textarea>
</mat-form-field> </mat-form-field>
<div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center"> <div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center">
<div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files"> <div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files">

View File

@ -30,3 +30,7 @@
left: 60px; left: 60px;
top: 0; top: 0;
} }
mat-form-field.mat-form-field {
font-size: 1.25em;
}

View File

@ -80,7 +80,8 @@
</mat-table> </mat-table>
<mat-form-field> <mat-form-field>
<mat-label>Narration</mat-label> <mat-label>Narration</mat-label>
<textarea matInput placeholder="Narration" formControlName="narration"></textarea> <textarea matInput matTextareaAutosize matAutosizeMinRows="5" placeholder="Narration"
formControlName="narration"></textarea>
</mat-form-field> </mat-form-field>
<div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center"> <div fxLayout="row" fxLayoutGap="0.5%" fxLayoutAlign="center">
<div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files"> <div class="img-container" fxFlex="20%" *ngFor="let item of voucher.files">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB