Closed Bug 502469 Opened 15 years ago Closed 15 years ago

Captions of narrow preview images look bad when zoomed

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect, P5)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: fcp2007, Assigned: wenzel)

Details

Currently, when a user clicks on a preview image (thumbnail), the image is shown in a highlighted box with its caption. The width of the box is determined from the width of the image. This looks bad when the width of the image is small and the caption is longer than a few words. This is reproducible in AMO 5.0.6 and the upcoming AMO 5.0.7 (previews.addons.mozilla.org). The highlighted box should have a certain minimum width. When the image is narrower than this minimum width, the image should be centered horizontally in the box. The minimum width could be specified simply by the number of pixels (e.g. 200px or 300px), but perhaps a better way would be to specify it by some percentage relative to the width of the window (if it is possible).
Reproducable on linux x86_64. The problem is that image and description divs are separate. We could fix that buy just putting them in one div.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I couldn't find an add-on to reproduce this.
Severity: minor → trivial
Status: NEW → RESOLVED
Closed: 15 years ago
Priority: -- → P5
Resolution: --- → INCOMPLETE
Target Milestone: --- → Future
(In reply to comment #2) > I couldn't find an add-on to reproduce this. See the last image at https://preview.addons.mozilla.org/en-US/firefox/addon/12312
Status: RESOLVED → REOPENED
Resolution: INCOMPLETE → ---
Thanks. I gave it a min-width of 350 pixels. r56057.
Assignee: nobody → fwenzel
Status: REOPENED → RESOLVED
Closed: 15 years ago15 years ago
Resolution: --- → FIXED
Target Milestone: Future → 5.4
Keywords: push-needed
Verified fixed on preview. Thanks!
Status: RESOLVED → VERIFIED
This bug was pushed live off-cycle tonight.
Keywords: push-needed
Target Milestone: 5.4 → 5.3.1
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.