diff --git a/routes/_components/compose/ComposeBox.html b/routes/_components/compose/ComposeBox.html index baaf2f48..d9d6728d 100644 --- a/routes/_components/compose/ComposeBox.html +++ b/routes/_components/compose/ComposeBox.html @@ -15,7 +15,10 @@ - + {#if !hideBottomBorder}
{/if} diff --git a/routes/_components/compose/ComposeStickyButton.html b/routes/_components/compose/ComposeStickyButton.html index d74c00d2..f79c3eca 100644 --- a/routes/_components/compose/ComposeStickyButton.html +++ b/routes/_components/compose/ComposeStickyButton.html @@ -1,4 +1,4 @@ -
+
diff --git a/routes/_components/virtualList/VirtualListContainer.html b/routes/_components/virtualList/VirtualListContainer.html index 23a69d1f..4839ff21 100644 --- a/routes/_components/virtualList/VirtualListContainer.html +++ b/routes/_components/virtualList/VirtualListContainer.html @@ -34,13 +34,15 @@ let { initializedScrollTop } = this.get() if (!initializedScrollTop && allVisibleItemsHaveHeight) { this.set({ 'initializedScrollTop': true }) - mark('set scrollTop') - console.log('forcing scroll top to ', scrollTop) - scrollContainer.scrollTop = scrollTop - stop('set scrollTop') - doubleRAF(() => { - console.log('initialized VirtualList') - this.fire('initialized') + requestAnimationFrame(() => { + mark('set scrollTop') + console.log('forcing scroll top to ', scrollTop) + scrollContainer.scrollTop = scrollTop + stop('set scrollTop') + doubleRAF(() => { + console.log('initialized VirtualList') + this.fire('initialized') + }) }) } }) @@ -116,4 +118,4 @@ allVisibleItemsHaveHeight: ({ $allVisibleItemsHaveHeight }) => $allVisibleItemsHaveHeight } } - \ No newline at end of file + diff --git a/scss/global.scss b/scss/global.scss index d1606c30..7f42546a 100644 --- a/scss/global.scss +++ b/scss/global.scss @@ -62,6 +62,7 @@ main { min-height: 70vh; @media (max-width: 767px) { margin: 5px auto 15px; + min-height: 100vh; } } diff --git a/templates/2xx.html b/templates/2xx.html index c493b9ac..31530df7 100644 --- a/templates/2xx.html +++ b/templates/2xx.html @@ -17,7 +17,7 @@