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