fix floating element on small profile
This commit is contained in:
parent
fc6724d57e
commit
235e81cccb
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue