Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

fix(permissions): use full settings width

Max2fca53897d6c
diff --git a/ui/src/features/permissions/PermissionsPage.test.tsx b/ui/src/features/permissions/PermissionsPage.test.tsx
index 6088e9cd6..89d14aa69 100644
--- a/ui/src/features/permissions/PermissionsPage.test.tsx
+++ b/ui/src/features/permissions/PermissionsPage.test.tsx
@@ -124,6 +124,18 @@ afterEach(() => {
});
describe('PermissionsPage state model', () => {
+ it('uses the full settings content width instead of a page-specific max width', async () => {
+ renderPage();
+
+ const heading = await screen.findByRole('heading', { name: 'permissions.title' });
+ const page = heading.closest('header')?.parentElement;
+
+ expect(page).not.toBeNull();
+ expect(page?.classList.contains('w-full')).toBe(true);
+ expect(page?.classList.contains('mx-auto')).toBe(false);
+ expect(Array.from(page?.classList ?? []).some((className) => className.startsWith('max-w-'))).toBe(false);
+ });
+
it('renders the current Avibe identity and Cloud handoff from the design contract', async () => {
renderPage();
diff --git a/ui/src/features/permissions/PermissionsPage.tsx b/ui/src/features/permissions/PermissionsPage.tsx
index efb07bd66..8f05c540e 100644
--- a/ui/src/features/permissions/PermissionsPage.tsx
+++ b/ui/src/features/permissions/PermissionsPage.tsx
@@ -1004,7 +1004,7 @@ export function PermissionsPage() {
};
return (
- <div className="mx-auto max-w-6xl space-y-6">
+ <div className="w-full space-y-6">
<header className="flex flex-col gap-4 sm:flex-row sm:items-start sm:justify-between">
<div className="min-w-0">
<div className="flex items-center gap-2">