mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-12 01:57:36 +03:00
fix desktop settings view
This commit is contained in:
parent
6d5098a0c2
commit
6d6c3b296c
@ -452,7 +452,7 @@ export default function Settings() {
|
|||||||
</div>
|
</div>
|
||||||
<SidebarProvider>
|
<SidebarProvider>
|
||||||
<Sidebar variant="inset" className="relative mb-8 pl-0 pt-0">
|
<Sidebar variant="inset" className="relative mb-8 pl-0 pt-0">
|
||||||
<SidebarContent className="scrollbar-container mb-20 overflow-y-auto border-r-[1px] border-secondary bg-background py-2">
|
<SidebarContent className="scrollbar-container mb-24 overflow-y-auto border-r-[1px] border-secondary bg-background py-2">
|
||||||
<SidebarMenu>
|
<SidebarMenu>
|
||||||
{settingsGroups.map((group) => {
|
{settingsGroups.map((group) => {
|
||||||
const filteredItems = group.items.filter((item) =>
|
const filteredItems = group.items.filter((item) =>
|
||||||
@ -538,7 +538,7 @@ export default function Settings() {
|
|||||||
</SidebarContent>
|
</SidebarContent>
|
||||||
</Sidebar>
|
</Sidebar>
|
||||||
<SidebarInset>
|
<SidebarInset>
|
||||||
<div className="flex-1 overflow-auto p-2 pr-0">
|
<div className="scrollbar-container mb-24 flex-1 overflow-y-auto p-2 pr-0">
|
||||||
{(() => {
|
{(() => {
|
||||||
const CurrentComponent = getCurrentComponent(page);
|
const CurrentComponent = getCurrentComponent(page);
|
||||||
if (!CurrentComponent) return null;
|
if (!CurrentComponent) return null;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user