feat: rounded corners on camera cards

This commit is contained in:
JohnMark Sill 2022-01-06 13:48:09 -06:00
parent 0e85c70a96
commit 87f7b07f84

View File

@ -44,7 +44,7 @@ export default function CameraImage({ camera, onload, searchParams = '', stretch
return (
<div className="relative w-full" ref={containerRef}>
<canvas data-testid="cameraimage-canvas" height={scaledHeight} ref={canvasRef} width={scaledWidth} />
<canvas data-testid="cameraimage-canvas" height={scaledHeight} ref={canvasRef} width={scaledWidth} className="rounded-t-lg" />
{!hasLoaded ? (
<div className="absolute inset-0 flex justify-center" style={`height: ${scaledHeight}px`}>
<ActivityIndicator />