Apply suggestions from code review

Co-authored-by: Nicolas Mowen <nickmowen213@gmail.com>
This commit is contained in:
Sergey Krashevich 2023-05-02 22:37:17 +03:00 committed by GitHub
parent 4f3a1a04e5
commit 4a151a96f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ export default function Birdseye() {
} else { } else {
player = ( player = (
<Fragment> <Fragment>
<div className={ptzCameras.length ? 'max-w-7xl xl:w-1/2' : 'max-w-7xl'}> <div className={ptzCameras.length ? 'max-w-5xl xl:w-1/2' : 'max-w-5xl'}>
<JSMpegPlayer camera="birdseye" /> <JSMpegPlayer camera="birdseye" />
</div> </div>
</Fragment> </Fragment>
@ -104,7 +104,7 @@ export default function Birdseye() {
</div> </div>
))} ))}
</div> </div>
) : ""} ) : null}
</div> </div>
</div> </div>
); );