Lib: Implement (slightly broken) lazy loading of cards
Issues arise when the viewport size changes
This commit is contained in:
@ -77,6 +77,7 @@
|
||||
</script>
|
||||
|
||||
<LazyCard
|
||||
group="SubstitutionCard"
|
||||
imgsrc={get_by_value(drivers, "id", substitution?.substitute ?? "")?.headshot_url ??
|
||||
headshot_template}
|
||||
imgwidth={DRIVER_HEADSHOT_WIDTH}
|
||||
|
||||
Reference in New Issue
Block a user