creativecommons/legaldb

[Bug] Title Heading Misalignment on Larger Screens

Closed this issue · 1 comments

Description

On larger screens, the heading Explore by content is not positioned correctly. It does not appear centered above the associated content in the section. This misalignment creates an inconsistent layout and impacts the visual structure of the page, particularly on wide displays.

Reproduction

  1. Open the page on a larger screen (e.g., 1920x1080 resolution).
  2. Observe the position of the heading in relation to the content below it.
  3. Notice that the heading is not centered or placed directly above the content it refers to.
  4. See error.

Expectation

The heading should be centrally aligned and positioned clearly above the content (case tags and scholarship tags) to ensure consistent layout on all screen sizes.

Adjust CSS to ensure proper alignment and positioning of the heading on larger screens.

Screenshots

PHOTO-2024-10-09-19-46-01

Environment

  • Device: (eg. iPhone Xs; laptop)
  • OS: (eg. iOS 13.5; Fedora 32)
  • Browser: (eg. Safari; Firefox)
  • Version: (eg. 13; 73)
  • Other info: (eg. display resolution, ease-of-access settings)

Additional context

Resolution

  • I would be interested in resolving this bug.

My apologies, I was too hasty in reviewing this Issue 😖

I don't believe there is anything wrong with the UX in production. The Explore Content heading is suppose to be over the left column, above the filters:

Screenshot 2024-10-15 at 10-42-30 CC Legal Database

It does expose another issue, that there is no data available for local development: