diff --git a/extension/src/popup/components/types/login.ts b/extension/src/popup/components/types/login.ts index 4a1c2d3..6c7665e 100644 --- a/extension/src/popup/components/types/login.ts +++ b/extension/src/popup/components/types/login.ts @@ -357,19 +357,21 @@ export function renderForm( ${sectionsHtml} -
-
- - +
+
+
+ + +
+
- -
- ${renderSectionsEditor(sectionsDraft, sectionsExpanded)} - ${isInTab() ? renderAttachmentsDisclosure({ itemId: existing?.id ?? '', attachments: attachmentsDraft, mode: 'edit' }) : ''} -
- - + ${renderSectionsEditor(sectionsDraft, sectionsExpanded)} + ${isInTab() ? renderAttachmentsDisclosure({ itemId: existing?.id ?? '', attachments: attachmentsDraft, mode: 'edit' }) : ''} +
+ + +
`; diff --git a/extension/src/vault/vault.css b/extension/src/vault/vault.css index a0b765f..6555200 100644 --- a/extension/src/vault/vault.css +++ b/extension/src/vault/vault.css @@ -1626,6 +1626,20 @@ textarea { @media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } } + +/* P3: lower form sections constrained to the same envelope as .form-grid. + Gated on surface === 'fullscreen' in login.ts; popup unaffected. */ +.form-lower { + max-width: 960px; + margin: 0 auto; +} +.form-lower > .form-group, +.form-lower > .disclosure, +.form-lower > .attachments-disclosure, +.form-lower > .form-actions { + width: 100%; +} + .form-col { padding: 14px 16px; }