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

Bartik has inconsistent .field__label styling, with unique attributes for .field--type-entity-reference and .field--name-field-tags only

$
0
0

Problem

Bartik sets a .field__label class only for .field--type-entity-reference and .field--name-field-tags. Instead it should inherit Classy's styling for those selectors as they are. (Currently on the field label of only these two fields, Bartik overrides the font-weight, lateral padding and font-size).

Steps to reproduce the problem

  1. On a Standard install profile content type (e.g. Article), create an entity reference field.
  2. Preserve the existing body field.
  3. Under Manage display of a Content type, set both field labels to display the same way, either Above or Inline.
  4. Create a node and add one word of content to each field.
  5. View the node and note the field labels display different styling.

Expected behavior

All field label(s) use the same styling.

Proposed fix

Remove all calls to the .field__label class from the Bartik css, allowing Bartik to inherit Classy styling on each field label.


Viewing all articles
Browse latest Browse all 296290

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>