refactor: update positioning of NumberPlate in SightingOverview and clean up unused variables in SightingWidget
This commit is contained in:
@@ -28,14 +28,13 @@ const SightingOverview = () => {
|
||||
|
||||
return (
|
||||
<div className="flex flex-col md:flex-row">
|
||||
{mostRecent && (
|
||||
<div className="z-30 px-1 pt-2">
|
||||
<NumberPlate vrm={mostRecent?.vrm} size="sm" />
|
||||
</div>
|
||||
)}
|
||||
|
||||
<NavigationArrow side={side} />
|
||||
<div className="w-full">
|
||||
{mostRecent && (
|
||||
<div className="absolute inset-0 z-50 px-1 pt-2">
|
||||
<NumberPlate vrm={mostRecent?.vrm} size="sm" />
|
||||
</div>
|
||||
)}
|
||||
<img
|
||||
ref={imgRef}
|
||||
onLoad={() => {
|
||||
|
||||
Reference in New Issue
Block a user