better "no toot" message

This commit is contained in:
Nicolas Constant 2019-08-06 20:21:47 -04:00
parent 5be372a3e9
commit 5c1617d673
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688
3 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@
<div class="profile-statuses"> <div class="profile-statuses">
<div *ngIf="!isLoading && !statusLoading && statuses.length == 0" class="profile-no-toots"> <div *ngIf="!isLoading && !statusLoading && statuses.length == 0" class="profile-no-toots">
no toots found no status found
</div> </div>
<div *ngFor="let statusWrapper of pinnedStatuses"> <div *ngFor="let statusWrapper of pinnedStatuses">

View File

@ -281,7 +281,7 @@ $full-alias-color-hover: white;
&-no-toots { &-no-toots {
text-align: center; text-align: center;
margin: 15px; margin: 15px;
border: 2px solid whitesmoke; // border: 2px solid whitesmoke;
} }
} }

View File

@ -278,7 +278,7 @@ export class UserProfileComponent implements OnInit {
this.statusLoading = true; this.statusLoading = true;
const userAccount = this.currentlyUsedAccount; const userAccount = this.currentlyUsedAccount;
this.mastodonService.getAccountStatuses(userAccount, this.displayedAccount.id, false, false, true, this.maxId, null, 40) this.mastodonService.getAccountStatuses(userAccount, this.displayedAccount.id, false, false, true, this.maxId, null, 20)
.then((statuses: Status[]) => { .then((statuses: Status[]) => {
this.loadStatus(userAccount, statuses); this.loadStatus(userAccount, statuses);
}) })