Skip to content

Commit faf80ad

Browse files
committed
fix: sticky header
regression
1 parent 3db6a49 commit faf80ad

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

apps/webapp/src/styles/_global.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
font-weight: 300;
1111
margin: 0;
1212
padding: 28px 8px;
13-
font-size: 20px;
13+
font-size: 20px !important;
1414
}
1515
}
1616

libs/home/src/lib/components/header/header.component.html

-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<mat-toolbar color="primary" class="default-navbar-header mat-elevation-z6">
22
<mat-toolbar-row fxLayout="row" fxLayoutAlign="space-between center">
3-
43
<a mat-button href="/" aria-label="Angular Material">
5-
<!--<img class="default-angular-logo"-->
64
<img class="default-angular-logo"
75
src="assets/img/homepage/angular-white-transparent.svg"
86
alt="angular">
@@ -44,7 +42,6 @@
4442
</button>
4543
</ng-container>
4644
</mat-menu>
47-
4845
</mat-toolbar-row>
4946

5047
<mat-toolbar-row fxLayout="row" fxLayoutAlign="space-between center" fxHide fxShow.lt-sm>

libs/home/src/lib/components/header/header.component.scss

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
:host {
2+
position: sticky;
23
top: 0;
34
left: 0;
45
right: 0;

0 commit comments

Comments
 (0)