Closed (fixed)
Project:
Barrio Bootstrap 5 Theme
Version:
5.5.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2022 at 03:27 UTC
Updated:
15 Nov 2025 at 18:42 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
shyam_bhattPlease check the patch. ".form-row" replaced with "row" in scss/components/form.scss file.
Comment #3
miyukiFYI, the patch successfully makes changes to
scss/components/form.scss, but notcss/components/form.css.Comment #5
hatuhay commentedComment #6
jurgenhaasThis approach breaks a lot of other things, because the selector
.row > divaffects almost everything in a BS layout. Example: it overwrites padding, flex and width definitions for all sidebars that have a class like e.g.col-md-4Comment #8
jurgenhaasThe attached MR makes sure, that those selectors only work inside of forms, not globally.
Comment #9
shyam_bhatt@jurgenhaas yes adding a form wrapper will be more accurate. "MR !29" looks fine to me.
Comment #10
crutch commentednot using scss, getting error with this patch. Trying to resolve #6
Error: Call to a member function addClass() on array in bootstrap_barrio_preprocess_input() (line 736 of themes\contrib\bootstrap_barrio\bootstrap_barrio.theme).
manually changing form.css line 18 and 19 to
fixes the issue with no errors.
Comment #11
shyam_bhattComment #13
super_romeo commentedComment #14
super_romeo commentedProblem persist in new release. Please see related issue.
Comment #15
fantonComment #16
fantonPlease check the patch. I wrapped ".row" with "form" in scss/components/from.scss file.