Use flex wrap on mobile so the ptz icons are not cutoff

This commit is contained in:
Nicolas Mowen 2024-04-01 14:00:58 -06:00
parent 5f25f29d7e
commit 4b6a3b22ed

View File

@ -365,7 +365,7 @@ function PtzControlPanel({
);
return (
<div className="absolute left-[50%] -translate-x-[50%] bottom-[10%] flex items-center gap-1">
<div className="absolute inset-x-2 md:left-[50%] md:-translate-x-[50%] bottom-[10%] flex flex-wrap md:flex-nowrap justify-center items-center gap-1">
{ptz?.features?.includes("pt") && (
<>
<Button