Re-center ptz controls in mobile landscape and prevent text selection (#12242)

This commit is contained in:
Josh Hawkins 2024-07-01 10:53:36 -05:00 committed by GitHub
parent b30fecbd28
commit 0ed7e278eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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