[FIX] #384 p.4 — allineamento label/campi modale Policy (override floating-label BI) + cache-buster style.css 20260618
La modale 'Modifica Policy' (e ogni modale con form legacy .form-label) mostrava
l'etichetta sovrapposta al valore: BI definisce .form-group label{position:absolute}
(spec. 0,1,1) che vinceva sulla .form-label legacy. Aggiunto override
.form-group .form-label{position:static} (spec. 0,2,0). Bumpato ?v= di style.css
su 38 pagine. version.json -> 1.23.2.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
abcec0de30
commit
d739f0e678
@@ -641,6 +641,22 @@ img {
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
/* Override Bootstrap Italia floating-label su form legacy (classe .form-label).
|
||||
BI definisce `.form-group label{position:absolute;top:0;line-height:calc(2.5rem-1px);padding:0 .5rem}`
|
||||
(specificita' 0,1,1) che vince sulla nostra `.form-label` (0,1,0) e sovrappone l'etichetta
|
||||
al valore del campo (ticket #384, screenshot policy01.png). Riportiamo le etichette legacy
|
||||
nel flusso normale, sopra il campo. Non tocca le label BI native (bare <label>, senza .form-label). */
|
||||
.form-group .form-label {
|
||||
position: static;
|
||||
line-height: 1.4;
|
||||
padding: 0;
|
||||
width: auto;
|
||||
max-width: none;
|
||||
z-index: auto;
|
||||
background-color: transparent;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.form-input,
|
||||
.form-select,
|
||||
.form-textarea {
|
||||
|
||||
Reference in New Issue
Block a user