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> ?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

PascalAnimateur’s picture

Issue summary: View changes
markhalliwell’s picture

Priority: Normal » Minor
.draggable .form-required {
  float: left;
}

That should be added to the overrides.less file in the sub-theme.

PascalAnimateur’s picture

That 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.

markhalliwell’s picture

Status: Active » Closed (outdated)

I'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.