Skip to content

Grid view search results show cards with inconsistent heights #5111

@GraziaQuercia

Description

@GraziaQuercia

Describe the bug

When using the Grid view in the search results page, the item cards are displayed with inconsistent heights.
This causes the grid to appear uneven and misaligned, with large vertical gaps between rows.
Tested on Demo, version 9.x
The issue occurs with both items that have thumbnails and those with "No Thumbnail Available".

To Reproduce

Steps to reproduce the behavior:

  1. Go to the DSpace demo
  2. Perform any search that returns a mix of items (with thumbnails and without).
  3. Switch the results display mode to Grid view.
  4. Observe that the height of the cards varies significantly from one item to another.
Image

Expected behavior

All cards in Grid view should have a consistent height so the layout aligns properly, regardless of thumbnail presence or metadata length.
The grid should remain uniform and visually coherent across all rows.

Metadata

Metadata

Labels

affects: 9.xIssue impacts 9.x releasesaffects: mainIssue impacts "main" (latest release).bugcomponent: Discoveryrelated to discovery search or browse system

Type

Projects

Status

🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions