Some small layout tweaks for portrait cams and motion review (#11766)

* Some small layout tweaks for portrait cams and motion review

* spans

* fix desktop
This commit is contained in:
Josh Hawkins
2024-06-05 09:53:17 -05:00
committed by GitHub
parent 36ae42a011
commit 8c96dfe1d1
2 changed files with 10 additions and 8 deletions

View File

@@ -255,7 +255,7 @@ export default function LiveDashboardView({
if (aspectRatio > 2) {
return `${mobileLayout == "grid" && "col-span-2"} aspect-wide`;
} else if (aspectRatio < 1) {
return `${mobileLayout == "grid" && "row-span-2 md:h-full"} aspect-tall`;
return `${mobileLayout == "grid" && "row-span-2 h-full"} aspect-tall`;
} else {
return "aspect-video";
}
@@ -276,7 +276,7 @@ export default function LiveDashboardView({
if (aspectRatio > 2) {
grow = `${mobileLayout == "grid" && "col-span-2"} aspect-wide`;
} else if (aspectRatio < 1) {
grow = `${mobileLayout == "grid" && "row-span-2 md:h-full"} aspect-tall`;
grow = `${mobileLayout == "grid" && "row-span-2 h-full"} aspect-tall`;
} else {
grow = "aspect-video";
}