diff --git a/src/app/components/stream/user-profile/user-profile.component.scss b/src/app/components/stream/user-profile/user-profile.component.scss index 47b9b0b7..ca2eb722 100644 --- a/src/app/components/stream/user-profile/user-profile.component.scss +++ b/src/app/components/stream/user-profile/user-profile.component.scss @@ -256,7 +256,7 @@ $floating-header-height: 60px; } &-description { - padding: 10px 10px 15px 10px; + padding: 9px 10px 15px 10px; font-size: 13px; // border-bottom: 1px solid black; diff --git a/src/app/components/stream/user-profile/user-profile.component.ts b/src/app/components/stream/user-profile/user-profile.component.ts index 99e17b6f..da7d8c26 100644 --- a/src/app/components/stream/user-profile/user-profile.component.ts +++ b/src/app/components/stream/user-profile/user-profile.component.ts @@ -270,7 +270,7 @@ export class UserProfileComponent implements OnInit { var element = this.statustream.nativeElement as HTMLElement; const atBottom = element.scrollHeight <= element.clientHeight + element.scrollTop + 1000; - if (element.scrollTop > 150) { + if (element.scrollTop > 135) { this.showFloatingHeader = true; } else { this.showFloatingHeader = false;