Keep the consent checkbox and its sentence on one line.
Assistant: grok Assistant-Session: 01a0d25d-d358-7e13-b84a-d007fbb7e34f
This commit is contained in:
parent
662305391f
commit
8f7cf0c69d
2 changed files with 7 additions and 1 deletions
|
|
@ -2488,7 +2488,10 @@ h1{{font:clamp(2.2rem,7vw,5.5rem)/.98 Georgia,serif;max-width:13ch}}a{{color:var
|
|||
.button{{display:inline-block;background:var(--accent);color:white;padding:.8rem 1.15rem;border-radius:.3rem;text-decoration:none}}
|
||||
table{{width:100%;border-collapse:collapse;background:#fff}}th,td{{padding:.75rem;text-align:left;border-bottom:1px solid var(--line)}}
|
||||
section{{margin:2rem 0}}form{{display:grid;gap:.8rem;max-width:42rem}}label{{display:grid;gap:.25rem}}
|
||||
input,select,button{{font:inherit;padding:.65rem}}button{{background:var(--accent);color:white;border:0;border-radius:.3rem;cursor:pointer}}
|
||||
label:has(input[type=checkbox]){{display:flex;align-items:center;gap:.6rem}}
|
||||
input,select,button{{font:inherit;padding:.65rem}}
|
||||
input[type=checkbox]{{width:1.15rem;height:1.15rem;margin:0;padding:0;flex:none}}
|
||||
button{{background:var(--accent);color:white;border:0;border-radius:.3rem;cursor:pointer}}
|
||||
a:focus-visible,input:focus-visible,select:focus-visible,button:focus-visible{{outline:3px solid #e59f24;outline-offset:3px}}@media(max-width:640px){{body{{font-size:16px}}table{{display:block;overflow-x:auto}}}}
|
||||
</style></head><body><header><strong>NetKingdom Identity</strong>{_ACCOUNT_NAVIGATION.get()}</header><main>{body}</main></body></html>"""
|
||||
|
||||
|
|
|
|||
|
|
@ -1130,6 +1130,9 @@ class PortalApplicationTests(unittest.TestCase):
|
|||
self.assertIn(b"Onboarding progress", html)
|
||||
self.assertIn(b"tenant:friendly:binky", html)
|
||||
self.assertIn(b"Profile and consent", html)
|
||||
self.assertIn(b"label:has(input[type=checkbox]){display:flex", html)
|
||||
self.assertIn(b'name="consent_accepted" type="checkbox" value="yes"', html)
|
||||
self.assertIn(b"I accept portal terms version 1", html)
|
||||
self.assertIn(b"Mark complete", html)
|
||||
self.assertIn(b"provider-owned surface", html)
|
||||
completed, _ = invoke(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue