Skip to content

Blank cover on edit edition cover not positioned correctly #11377

@emggeorge

Description

@emggeorge

Problem

I noticed earlier today that the blank box for an edition's cover is not centered on the "Add Cover Image" button when editing the edition. I looked into it and opened a PR with a proposed solution to make changes to the css for this block that will center the rectangle.

Image

Cover box in the wrong position

Image

Cover located correctly once the cover is uploaded

Reproducing the bug

  1. Go to an edition that does not have a cover already
  2. Click edit
  • Expected behavior: Blank cover box centered on "Add Cover Image" button
  • Actual behavior: Blank cover box close to left form elements

Context

  • Browser (Chrome, Safari, Firefox, etc): Firefox
  • OS (Windows, Mac, etc): Windows
  • Logged in (Y/N): Y
  • Environment (prod, dev, local): prod (also happens locally)

Breakdown

Requirements Checklist

  • [ ]

Related files

Stakeholders


Instructions for Contributors

  • Please run these commands to ensure your repository is up to date before creating a new branch to work on this issue and each time after pushing code to Github, because the pre-commit bot may add commits to your PRs upstream.

Metadata

Metadata

Assignees

Labels

Lead: @RayBBIssues overseen by Ray (Onboarding & Documentation Lead) [manages]Needs: BreakdownThis big issue needs a checklist or subissues to describe a breakdown of work. [managed]Priority: 4An issue, but should be worked on when no other pressing work can be done. [managed]Theme: EditingIssues related to the user editing/wiki editing experience. [managed]Type: BugSomething isn't working. [managed]

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions