Poll history: fetch more poll history (#10235)

* load more pages of polls

* load more and no results messages

* style no results message

* remove debug

* strict fixes

* comments

* i18n pluralisations

* pluralisation the right way
This commit is contained in:
Kerry 2023-02-28 15:56:27 +13:00 committed by GitHub
parent f57495d3cd
commit 7c70dd9d16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 300 additions and 105 deletions

View file

@ -41,10 +41,20 @@ limitations under the License.
.mx_PollHistoryList_noResults {
height: 100%;
width: 100%;
box-sizing: border-box;
padding: 0 $spacing-64;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
line-height: $font-24px;
color: $secondary-content;
.mx_PollHistoryList_loadMorePolls {
margin-top: $spacing-16;
}
}
.mx_PollHistoryList_loading {
@ -57,3 +67,7 @@ limitations under the License.
margin: auto auto;
}
}
.mx_PollHistoryList_loadMorePolls {
width: max-content;
}