diff --git a/src/renderer/components/layout/AppLayout.tsx b/src/renderer/components/layout/AppLayout.tsx index bf8b8f7d2..3de97da0c 100644 --- a/src/renderer/components/layout/AppLayout.tsx +++ b/src/renderer/components/layout/AppLayout.tsx @@ -13,9 +13,10 @@ interface IAppLayout { export const AppLayout: FC = ({ children }) => { return (
- - {/* Content area with left padding to make space for the sidebar */} + {/* Content first in DOM so initial focus won't land on sidebar buttons */}
{children}
+ +
); }; diff --git a/src/renderer/components/layout/__snapshots__/AppLayout.test.tsx.snap b/src/renderer/components/layout/__snapshots__/AppLayout.test.tsx.snap index d1f1c1731..c673e5aa8 100644 --- a/src/renderer/components/layout/__snapshots__/AppLayout.test.tsx.snap +++ b/src/renderer/components/layout/__snapshots__/AppLayout.test.tsx.snap @@ -8,6 +8,11 @@ exports[`renderer/components/layout/AppLayout.tsx should render itself & its chi
+
+ Test +
-
- Test -
, @@ -272,6 +272,11 @@ exports[`renderer/components/layout/AppLayout.tsx should render itself & its chi
+
+ Test +
-
- Test -
, "debug": [Function],