[Glitch] Minor scrollable list fixes

* Make sure loading indicator has enough vertical space
* Respect reduce_motion setting for loading indicator

Port 4ede51743e to glitch-soc
This commit is contained in:
Thibaut Girka
2018-12-17 21:32:27 +01:00
committed by ThibG
parent 8266d224ef
commit 30de4e4dfc
2 changed files with 13 additions and 4 deletions

View File

@@ -107,7 +107,7 @@ export default class AccountGallery extends ImmutablePureComponent {
);
}
if (hasMore) {
if (hasMore && !(isLoading && medias.size === 0)) {
loadOlder = <LoadMore visible={!isLoading} onClick={this.handleLoadOlder} />;
}