Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292436

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

$
0
0

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

- Patch the necessary files
- 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


Viewing all articles
Browse latest Browse all 292436

Trending Articles