mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
fix tooltips on mobile and make 2-row cameras full height (#9787)
This commit is contained in:
parent
cd5f4b1534
commit
9de09f6cdf
@ -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) => (
|
||||
|
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user