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.
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.
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
}
Remaining tasks
Update the CSS
User interface changes
Better display of barcodes.
API changes
none
Data model changes
none
Comment | File | Size | Author |
---|---|---|---|
#2 | 3164919-2.patch | 4.33 KB | sanduhrs |
EAN inline-block.PNG | 4.49 KB | Neograph734 | |
EAN broken.PNG | 4.5 KB | Neograph734 |
Comments
Comment #2
sanduhrsComment #4
sanduhrsThis is included in the latest release.
Thanks for reporting and the fix!