fix tooltips on mobile and make 2-row cameras full height (#9787)

This commit is contained in:
Josh Hawkins 2024-02-11 06:30:52 -06:00 committed by GitHub
parent cd5f4b1534
commit 9de09f6cdf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ function Sidebar({
}) {
const sidebar = (
<aside className="w-[52px] z-10 h-screen sticky top-0 overflow-y-auto scrollbar-hidden py-4 flex flex-col justify-between">
<span tabIndex={0} className="sr-only" />
<div className="w-full flex flex-col gap-0 items-center">
<Logo className="w-8 h-8 mb-6" />
{navbarLinks.map((item) => (

View File

@ -82,7 +82,7 @@ function Live() {
if (aspectRatio > 2) {
grow = "md:col-span-2 aspect-wide";
} else if (aspectRatio < 1) {
grow = `md:row-span-2 aspect-[8/9]`;
grow = `md:row-span-2 aspect-[8/9] md:h-full`;
} else {
grow = "aspect-video";
}