[MGNLUI-3031] Action bar preview image may overflow Created: 30/Jun/14  Updated: 03/Jul/14  Resolved: 30/Jun/14

Status: Closed
Project: Magnolia UI
Component/s: actionbar
Affects Version/s: 5.3
Fix Version/s: 5.2.7, 5.3.1

Type: Bug Priority: Minor
Reporter: Mikaël Geljić Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: quickwin
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File actionbar-preview-overflow.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 Description   

max-height of the preview image element is set to 200px. This is generally not a visible issue when working with DefaultImageProvider, because it goes through imaging servlet, using the 'portrait' configuration, which is set to 240x160.

However, different image provider implementations — in particular when working with 'liberated' content apps — may not need to go through imaging servlet, and may provide images that are bigger than the portrait size.

In this case current max-height in CSS is 200px in the action bar; it should be in sync with imaging configuration, i.e. 160px, so that images are scaled down properly.


Generated at Mon Feb 12 09:02:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.