- Issue created by @Grimreaper
- Assigned to Grimreaper
- π«π·France pdureau Paris
I am not sure if there is something out-of-the-box in Bootstrap 5 for that.
Maybe we can only work with the markup, without looking for a boottsrap 5 HTML class.
Something like that (non tested pseudo code):
{% if not label_hidden %} <div{{ title_attributes.addClass(title_classes) }}>{{ label }}</div> {% elseif (label_display == 'inline') and not label_hidden %} <span{{ title_attributes.addClass(title_classes) }}>{{ label }}</span> {% endif %} {% for item in items %} {{ item.content }} {% endfor %}
What do you think?
- π«π·France Grimreaper France π«π·
Olivero:
Bootstrap 3:
UI Suite Bootstrap:
Regarding what Olivero and Bootstrap 3 do. (I prefer CSS classes of Bootstrap with dashes instead of underscores), I think we should add:
- a bold class on field label
- if inline a float class on field label
- a little bit of CSS to add the ":" - Issue was unassigned.
- π«π·France Grimreaper France π«π·
Discussed with @pdureau, ok for solution in comment 3.
- Assigned to mapac
- Status changed to Needs review
over 1 year ago 12:55pm 28 June 2023 - @grimreaper opened merge request.
- Assigned to Grimreaper
- @grimreaper opened merge request.
-
Grimreaper β
committed cc8278db on 5.0.x
Issue #3359437 by mademo, Grimreaper, pdureau: Field display: respect...
-
Grimreaper β
committed cc8278db on 5.0.x
- Issue was unassigned.
- Status changed to Fixed
over 1 year ago 9:39am 3 July 2023 Automatically closed - issue fixed for 2 weeks with no activity.