Problem/Motivation

When displaying an EAN13 barcode or QRCODE (these 2 I have tested) as inline fields on an entity, the label pushes the image and the text apart.

EAN broken

Steps to reproduce

Create an entity display with a barcode field.
In the display mode, set the label to display inline.

Proposed resolution

Change the 'barcode' CSS class to display as 'inline-block'

.barcode {
  display: inline-block
}

EAN inline block

Remaining tasks

Update the CSS

User interface changes

Better display of barcodes.

API changes

none

Data model changes

none

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Neograph734 created an issue. See original summary.

sanduhrs’s picture

Status: Active » Needs review
FileSize
4.33 KB

  • sanduhrs committed ad5f553 on 2.0.x
    Issue #3164919 by sanduhrs, Neograph734: Use 'inline-block' to keep...
sanduhrs’s picture

Status: Needs review » Fixed

This is included in the latest release.
Thanks for reporting and the fix!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.