[frontend] Make toolbar fixed and add shadow
This commit is contained in:
parent
9d02c32b5a
commit
0ecb137bc9
|
@ -1,2 +1,4 @@
|
||||||
<app-toolbar></app-toolbar>
|
<app-toolbar></app-toolbar>
|
||||||
|
<div class="content">
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
|
</div>
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
.content {
|
||||||
|
margin-top: 64px;
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
<mat-toolbar color="primary">
|
<mat-toolbar class="toolbar mat-elevation-z3" color="primary">
|
||||||
<a mat-button [routerLink]="['/']" routerLinkActive="router-link-active"
|
<a mat-button [routerLink]="['/']" routerLinkActive="router-link-active"
|
||||||
>Kibicara</a
|
>Kibicara</a
|
||||||
>
|
>
|
||||||
|
|
|
@ -14,3 +14,13 @@
|
||||||
display: initial;
|
display: initial;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.toolbar {
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
z-index: 1000;
|
||||||
|
min-height: 64px;
|
||||||
|
max-height: 64px;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue