Skip to content

Commit 91ae266

Browse files
committed
add sticky position for office__top
1 parent 40fcc61 commit 91ae266

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

projects/social_platform/src/app/office/office.component.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,16 @@
3636
justify-content: space-between;
3737
padding: 30px 5px 30px 17px;
3838
background: linear-gradient(var(--accent), #4d3780);
39+
position: sticky;
40+
top: 0;
41+
left: 0;
42+
z-index: 100;
3943

4044
@include responsive.apply-desktop {
4145
flex-shrink: 0;
4246
padding: 0;
4347
background: none;
48+
position: static;
4449
}
4550
}
4651

0 commit comments

Comments
 (0)