Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

feat: responsive two-column grid for Settings Credentials cards (#7400)

[._.]/ Adam Eivy8cadd3089a25
diff --git a/client/src/components/settings/CredentialsTab.jsx b/client/src/components/settings/CredentialsTab.jsx
index c79c474ae5..7597b1b03e 100644
--- a/client/src/components/settings/CredentialsTab.jsx
+++ b/client/src/components/settings/CredentialsTab.jsx
@@ -71,7 +71,7 @@ export function CredentialsTab() {
const credentials = payload.credentials || [];
return (
- <div className="space-y-6 max-w-3xl">
+ <div className="space-y-6">
<div>
<h2 className="text-lg font-semibold text-white">Credentials</h2>
<p className="text-sm text-gray-400 mt-1">
@@ -81,7 +81,7 @@ export function CredentialsTab() {
</p>
</div>
- <div className="space-y-3">
+ <div className="grid grid-cols-1 lg:grid-cols-2 gap-3">
{credentials.map((credential) => {
const configured = credential.configured === true;
const verificationUnavailable = credential.verification === 'unavailable';
diff --git a/client/src/components/settings/CredentialsTab.test.jsx b/client/src/components/settings/CredentialsTab.test.jsx
index 8779838d9b..9770960ece 100644
--- a/client/src/components/settings/CredentialsTab.test.jsx
+++ b/client/src/components/settings/CredentialsTab.test.jsx
@@ -64,6 +64,19 @@ describe('CredentialsTab', () => {
expect(JSON.stringify(PAYLOAD)).not.toMatch(/hf_this/);
});
+ it('lays credential cards out in a responsive two-column grid without a width clamp', async () => {
+ const { container } = render(
+ <MemoryRouter>
+ <CredentialsTab />
+ </MemoryRouter>,
+ );
+
+ expect(await screen.findByText('Hugging Face')).toBeTruthy();
+ const grid = container.querySelector('.grid.grid-cols-1.lg\\:grid-cols-2');
+ expect(grid).toBeTruthy();
+ expect(container.querySelector('.max-w-3xl')).toBeNull();
+ });
+
it('renders verification failures as unknown instead of not configured', async () => {
mock.getCredentialInventory.mockResolvedValue({
headline: 'Credential status',