Skip to content

Commit 95ee3b4

Browse files
committed
Sticky Filters on ContentComponent;
1 parent 9e4ed7f commit 95ee3b4

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/app/screens/content/content.component.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
></t4e-page-header>
66
<div class="t4e-content-page">
77
<aside class="t4e-content-filters">
8+
<div class="sticky-filters">
89
<t4e-filters
910
title="Providers"
1011
[fields]="providerFields$"
@@ -38,7 +39,7 @@
3839
</i>
3940
</button>
4041
</div>
41-
42+
</div>
4243
</aside>
4344

4445
<section class="t4e-content-items">

src/app/screens/content/content.component.scss

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
.t4e-content-filters {
2626
grid-area: filters;
2727

28+
.sticky-filters {
29+
position: -webkit-sticky;
30+
position: sticky;
31+
top: 60px;
32+
}
33+
2834
::ng-deep {
2935
.filters-wrapper {
3036
margin-bottom: 60px;

0 commit comments

Comments
 (0)