[FIX] Landing: checkbox consenso largo 100% (causa vera del testo incolonnato)
La regola .form-group input {width:100%} si applicava ANCHE al checkbox del
consenso, gonfiandolo a tutta la riga e spingendo il testo a capo parola per
parola. Aggiunto override .consent-label input[type=checkbox] {width:16px}.
Ora testo in linea su 2 righe, colore normale, link Privacy policy + asterisco cyan.
Verificato con render headless Chrome.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
847e28b8cf
commit
5785ba516d
@ -603,8 +603,10 @@
|
||||
}
|
||||
.form-group label span { color: var(--red); margin-left: 2px; }
|
||||
/* Label consenso GDPR: testo in linea, non incolonnato, colore normale */
|
||||
.consent-label { font-weight: 400 !important; }
|
||||
.consent-label > span { flex: 1; min-width: 0; color: var(--text-light) !important; margin-left: 0 !important; }
|
||||
.consent-label { width: 100%; font-weight: 400 !important; }
|
||||
/* il checkbox NON deve ereditare width:100% dalla regola .form-group input */
|
||||
.consent-label input[type="checkbox"] { width: 16px !important; height: 16px !important; padding: 0 !important; flex: 0 0 auto; }
|
||||
.consent-label > span { flex: 1 1 auto; min-width: 0; color: var(--text-light) !important; margin-left: 0 !important; }
|
||||
.consent-label > span a { color: var(--cyan) !important; }
|
||||
.form-group input,
|
||||
.form-group select,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user