-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'lebihae/fix-infinitescroll-bookings' into 'main'
fix(ticketing): fix borked infinite scroll on event bookings management page See merge request churros/churros!296
- Loading branch information
Showing
6 changed files
with
121 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@churros/app': patch | ||
--- | ||
|
||
fix borked infinite scroll on /events/:id/bookings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<script lang="ts"> | ||
import { LoadingChurros } from '$lib/loading'; | ||
export let title = 'Chargement…'; | ||
</script> | ||
|
||
<div class="loading"> | ||
<LoadingChurros /> | ||
<p class="gradiented">{title}</p> | ||
<section class="regular-content"> | ||
<slot></slot> | ||
</section> | ||
</div> | ||
|
||
<style> | ||
.loading { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
min-height: 100%; | ||
font-size: 7em; | ||
} | ||
.regular-content { | ||
font-size: calc(1em / 7); | ||
} | ||
.loading p.gradiented { | ||
margin-top: 1.5em; | ||
font-size: calc(1.5em * 1 / 7); | ||
font-weight: bold; | ||
background: linear-gradient(90deg, var(--fg), var(--primary), var(--fg)); | ||
background-clip: text; | ||
-webkit-text-fill-color: transparent; | ||
/* stylelint-disable-next-line */ | ||
text-fill-color: transparent; | ||
background-size: 200% auto; | ||
animation: textgradient 1s linear infinite reverse; | ||
} | ||
@keyframes textgradient { | ||
to { | ||
background-position: 200% center; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters