Parent spec
#137
Related
Owner
- ACTIVE_ROLE:
implementation
- DOMAIN:
web
State
READY_FOR_IMPLEMENTATION
Baseline
Specification baseline: main = 40f7061eb89dcc676599d7f74f1b45037e589ea2.
Current structure
After #203, Provisioning Security & Recovery subsections use:
.security-subsection {
margin-top: 28px;
padding-top: 24px;
border-top: 1px solid #e5e5e5;
}
and security-panel.ts gives stable subsection identities:
data-security-subsection="recovery-package"
data-security-subsection="change-passphrase"
The requested remaining issue is specifically the visual separation above the divider before Change Recovery Passphrase.
Objective
Increase the whitespace before the horizontal divider that introduces Change Recovery Passphrase, without changing the divider itself or Recovery Package/Passphrase behavior.
Required behavior
Within Provisioning's Security & Recovery panel:
- keep exactly one neutral horizontal divider immediately before the
Change Recovery Passphrase subsection;
- add/increase margin above that divider so it is visibly separated from the preceding Recovery Package controls;
- at normal desktop width, use at least 40px-equivalent top margin before the Change Recovery Passphrase subsection boundary;
- the divider's existing padding-to-heading relationship may remain unchanged unless a small adjustment is necessary to preserve visual balance;
- do not add a second divider;
- do not move the margin below the divider when the intent is separation from the preceding subsection;
- target the stable subsection structure/class/data attribute, not localized heading text.
The Recovery Package subsection does not require the same additional increase unless a shared implementation can preserve the intended hierarchy without making its leading space excessive.
Responsive behavior
- On narrow layouts, the spacing may be reduced modestly if necessary, but must remain visibly larger than ordinary inline/control spacing and must not collapse to zero.
- No horizontal overflow or shell-width shift.
- EN/JA layouts remain equivalent.
Security / behavior preservation
Do not change:
Regression coverage
Add/extend focused layout/CSS tests proving:
- Change Recovery Passphrase retains exactly one top divider;
- its subsection top margin is greater than the generic 28px security-subsection baseline and is at least 40px-equivalent at normal desktop width;
- Recovery Package remains correctly separated;
- no double divider appears;
- EN/JA rendering and current Chrome layout smoke remain green.
Prefer a semantic modifier/data-attribute/class assertion over matching translated text.
Acceptance
Expected surfaces
Likely:
web/src/style.css;
- focused Web layout tests.
A markup change in security-panel.ts should not be necessary because #203 already added a stable subsection identity.
Collision / coordination
At Specification time, open PR #206 touches Web Serial lifecycle/transport code, not style.css or Security & Recovery layout.
Implementation must still re-check exact changed files before claim.
References
Parent spec
#137
Related
Owner
implementationwebState
READY_FOR_IMPLEMENTATIONBaseline
Specification baseline:
main = 40f7061eb89dcc676599d7f74f1b45037e589ea2.Current structure
After #203, Provisioning Security & Recovery subsections use:
and
security-panel.tsgives stable subsection identities:data-security-subsection="recovery-package"data-security-subsection="change-passphrase"The requested remaining issue is specifically the visual separation above the divider before Change Recovery Passphrase.
Objective
Increase the whitespace before the horizontal divider that introduces
Change Recovery Passphrase, without changing the divider itself or Recovery Package/Passphrase behavior.Required behavior
Within Provisioning's
Security & Recoverypanel:Change Recovery Passphrasesubsection;The
Recovery Packagesubsection does not require the same additional increase unless a shared implementation can preserve the intended hierarchy without making its leading space excessive.Responsive behavior
Security / behavior preservation
Do not change:
Regression coverage
Add/extend focused layout/CSS tests proving:
Prefer a semantic modifier/data-attribute/class assertion over matching translated text.
Acceptance
Change Recovery Passphrase.Expected surfaces
Likely:
web/src/style.css;A markup change in
security-panel.tsshould not be necessary because #203 already added a stable subsection identity.Collision / coordination
At Specification time, open PR #206 touches Web Serial lifecycle/transport code, not
style.cssor Security & Recovery layout.Implementation must still re-check exact changed files before claim.
References
web/src/style.cssweb/src/security/security-panel.ts