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
- On a
Standard
install profilecontent type
(e.g. Article), create anentity reference field
. - Preserve the existing
body field
. - Under
Manage display
of aContent type
, set both field labels to display the same way, eitherAbove
orInline
. - Create a node and add one word of content to each field.
- 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.