mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-07-24 04:39:02 +03:00
Refactor Settings UI (#20392)
* refactor with sidebar and mobile page * sidebar spacing and color tweaks * layout tweaks * move camera switch button to header * improve mobile * remove back button on mobile page header * mobile fixes * remove debug * don't use mobilepage * more mobile tweaks * use mobile page for components * add optional actions to mobile page header for top right buttons * fix alignment * use page toggle * tweaks * sidebar inset tweaks * move triggers to notifications sub menu * consistency * fix padding * more padding fixes * navigate history
This commit is contained in:
@@ -338,7 +338,7 @@ const SidebarInset = React.forwardRef<
|
||||
ref={ref}
|
||||
className={cn(
|
||||
"relative flex w-full flex-1 flex-col bg-background",
|
||||
"md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",
|
||||
"md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:mb-2 md:peer-data-[variant=inset]:ml-0",
|
||||
className,
|
||||
)}
|
||||
{...props}
|
||||
|
||||
Reference in New Issue
Block a user