Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When displaying the form element of a multiple value field in a draggable table, the required field marker (asterisk or *) is displayed above the field.
(see attached screenshot)
It looks way better when floating it on the left.
I can do this in CSS by adding float:left;
to the label tag that is the parent of the marker
<span class="form-required">*</span>
Anybody know how I could select the parent of that element if it's placed inside a .draggable <tr>
?
Comment | File | Size | Author |
---|---|---|---|
Capture du 2014-03-25 14:50:29.png | 3.85 KB | PascalAnimateur |
Comments
Comment #1
PascalAnimateur CreditAttribution: PascalAnimateur commentedComment #2
markhalliwellThat should be added to the overrides.less file in the sub-theme.
Comment #3
PascalAnimateur CreditAttribution: PascalAnimateur commentedThat fix doesn't work, at least in the case of autocomplete fields.
The
float:left;
CSS should apply to the<label>
parent of that element.Comment #4
markhalliwellI'm pretty sure this isn't an issue anymore and was probably fixed in some other issue that was released in 7.x-3.1.