Remove clutter
This commit is contained in:
parent
1308d9d1ae
commit
59295fafef
1 changed files with 0 additions and 12 deletions
|
|
@ -59,18 +59,6 @@ export class PageTimelineElement extends PageElement {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private static hide(element: HTMLElement) {
|
|
||||||
element.style.opacity = '0';
|
|
||||||
setTimeout(() => {
|
|
||||||
element.style.visibility = 'hidden';
|
|
||||||
}, 250);
|
|
||||||
}
|
|
||||||
|
|
||||||
private static show(element: HTMLElement) {
|
|
||||||
element.style.visibility = 'visible';
|
|
||||||
element.style.opacity = '1';
|
|
||||||
}
|
|
||||||
|
|
||||||
private openMore() {
|
private openMore() {
|
||||||
const deltaHeight = this.more.scrollHeight;
|
const deltaHeight = this.more.scrollHeight;
|
||||||
this.more.style.height = `${deltaHeight.toString()}px`;
|
this.more.style.height = `${deltaHeight.toString()}px`;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue