Version
Plugin: accounts 3.2.1
GLPI: 11.x
Problem
On the account form, the password generator section shows "Length" and "characters" but the number input between them is collapsed to zero width, the value 1-500 is not visible.
Root Cause
In templates/account.html.twig around line 566-571, two inline styles conflict:
- The
.input-group container has style="max-width: 220px;", too narrow for three flex children (label + input + span).
- The
<input type="number"> has style="max-width: 80px;" but no min-width, so Bootstrap flexbox crushes it to zero width when the container runs out of space.
Fix
Either:
- Increase container max-width to at least 300px, or remove it entirely
- Add
min-width: 55px to the input
Workaround (GLPI UI Customization CSS)
#length { min-width: 55px !important; }
.input-group:has(#length) { max-width: 320px !important; }
Version
Plugin: accounts 3.2.1
GLPI: 11.x
Problem
On the account form, the password generator section shows "Length" and "characters" but the number input between them is collapsed to zero width, the value 1-500 is not visible.
Root Cause
In
templates/account.html.twigaround line 566-571, two inline styles conflict:.input-groupcontainer hasstyle="max-width: 220px;", too narrow for three flex children (label + input + span).<input type="number">hasstyle="max-width: 80px;"but nomin-width, so Bootstrap flexbox crushes it to zero width when the container runs out of space.Fix
Either:
min-width: 55pxto the inputWorkaround (GLPI UI Customization CSS)