mirror of
				https://github.com/blakeblackshear/frigate.git
				synced 2025-10-27 10:52:11 +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 = (
 | 
					  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">
 | 
					    <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">
 | 
					      <div className="w-full flex flex-col gap-0 items-center">
 | 
				
			||||||
        <Logo className="w-8 h-8 mb-6" />
 | 
					        <Logo className="w-8 h-8 mb-6" />
 | 
				
			||||||
        {navbarLinks.map((item) => (
 | 
					        {navbarLinks.map((item) => (
 | 
				
			||||||
 | 
				
			|||||||
@ -82,7 +82,7 @@ function Live() {
 | 
				
			|||||||
          if (aspectRatio > 2) {
 | 
					          if (aspectRatio > 2) {
 | 
				
			||||||
            grow = "md:col-span-2 aspect-wide";
 | 
					            grow = "md:col-span-2 aspect-wide";
 | 
				
			||||||
          } else if (aspectRatio < 1) {
 | 
					          } else if (aspectRatio < 1) {
 | 
				
			||||||
            grow = `md:row-span-2 aspect-[8/9]`;
 | 
					            grow = `md:row-span-2 aspect-[8/9] md:h-full`;
 | 
				
			||||||
          } else {
 | 
					          } else {
 | 
				
			||||||
            grow = "aspect-video";
 | 
					            grow = "aspect-video";
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user