.container-inline: nested checkbox should not get the trailing ":"

Created on 26 December 2022, almost 2 years ago
Updated 13 July 2023, over 1 year ago

Problem/Motivation

Nesting a checkbox under a .container-inline container form element causes it to get a ":" appended via CSS (:after pseudo-element). Individual radio elements inside a radios group as well as individual checkbox elements inside a checkboxes element seem to be already excluded from this.

Steps to reproduce

- Install Drupal with the standard profile
- Add a field with multi-value support to the page content type
- Create a view, use fields, add the field with multi-value support
- In the modal to configure the View field, expand "Multiple Field Settings"
- Notice that the "Reversed" and "First and Last Only" checkboxes show a ":" after the label.

Proposed resolution

Add a CSS rule to exclude a single checkbox from having a trailing ":", when nested in a .container-inline

Remaining tasks

- Implement fix
- Discuss and review

User interface changes

- Individual checkbox elements do not show a trailing ":", when nested inside a .container-inline.

API changes

- None

Data model changes

- None

Release notes snippet

- TODO

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
CSS 

Last updated about 6 hours ago

Created by

🇨🇴Colombia jedihe

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024