- Merge request !111Issue #3548552 Region class field: increase maxlength from 40 to 255. → (Open) created by trackleft2
The “Region classes” textfields in Barrio theme settings are capped at `#maxlength => 40`, which prevents adding a reasonable number of utility classes (e.g., Bootstrap layout + responsive utilities). This limit appears arbitrary and inconsistent with other settings in the same form (e.g., breadcrumb divider allows 256).
Relevant occurrences in theme-settings.php:
#size => 40
, #maxlength => 40
bootstrap_barrio_navbar_top_class
: #maxlength => 40
bootstrap_barrio_navbar_class
: #maxlength => 40
#maxlength => 40
#maxlength => 256
d-flex justify-content-between align-items-center py-3 gap-2 flex-wrap
).#maxlength
for the following textfields from 40 to something practical (e.g., 255) to align with typical Drupal textfield limits and with the breadcrumb divider field:
bootstrap_barrio_region_class_*
(all regions)bootstrap_barrio_navbar_top_class
bootstrap_barrio_navbar_class
bootstrap_barrio_scroll_spy
(ID fields often exceed 40 in complex layouts)#size
for better UX (e.g., 80) without affecting storage.#maxlength
(and optionally #size
) for the fields listed above.#size
is increased.Active
5.5
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.