creativecommons / legaldb

CC Legal Database: curated repository of Case Law and Scholarship data from around the world in a Django based website.
https://LegalDB.CreativeCommons.org/
MIT License
46 stars 69 forks source link

[Bug] Title Heading Misalignment on Larger Screens #206

Closed wendy640 closed 1 month ago

wendy640 commented 1 month ago

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

Additional context

Resolution

TimidRobot commented 1 month ago

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: