Skip to content

Commit ea45af2

Browse files
committed
Fix toolbar appearance
1 parent 20b41a8 commit ea45af2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

scilog/src/app/core/toolbar/toolbar.component.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div #logbookTitle class='logbook-name-tag' *ngIf='isLogbookOpen' style="font-size: 18px;">
22
{{ logbookName }}
33
</div>
4-
<mat-toolbar>
4+
<mat-toolbar color="primary">
55

66
<div [ngClass]="(showMenuIcon)?'logo-center':'logo'">
77
<img src="../../assets/logo.png" alt="SciLog" width="50" height="50" />

scilog/src/app/core/toolbar/toolbar.component.scss

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
// @import '../theme.scss';
22

3-
::ng-deep .mat-toolbar {
3+
mat-toolbar {
44
z-index: 998;
55
position: fixed;
66
height: 50px;
7-
background-color: var(--toolbar-color);
8-
color: #ffffff;
97
box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2), 0 2px 8px 0 rgba(0, 0, 0, 0.14), 0 4px 8px -1px rgba(0, 0, 0, 0.12);
108
}
119

0 commit comments

Comments
 (0)