Widget: remove limit of 50 events in list-view by adding a load-more-button (#2144)

This commit is contained in:
Richard Schreiber
2021-07-10 21:37:27 +02:00
committed by GitHub
parent 965aac6ad5
commit bdd9751f0e
5 changed files with 55 additions and 2 deletions

View File

@@ -172,6 +172,15 @@
.pretix-widget-loading svg {
margin: 40px;
/*Fallback*/
position: absolute;
top: 50%;
margin-top: -64px;
/*Sticky*/
position: -webkit-sticky;
position: sticky;
top: Min(50vh, 50%);/* use uppercase M to use CSS-min and not SASS-min*/
-webkit-animation: pretix-widget-spin 6s linear infinite;
-moz-animation: pretix-widget-spin 6s linear infinite;
animation: pretix-widget-spin 6s linear infinite;
@@ -699,6 +708,10 @@
fill: $brand-primary;
}
.pretix-widget-event-list-load-more {
text-align: center;
}
.pretix-widget.pretix-widget-mobile {
.pretix-widget-event-week-table {
display: block;