Skip to content

Text overflows the panel when images shrink in Expanding Cards layout #37

Closed
@Vaisujaiswal

Description

@Vaisujaiswal

Issue Title:

Text overflows the panel when images shrink in the Expanding Cards layout

Description:

When the panels shrink in the Expanding Cards layout, the text (h3) spills out of the image boundaries instead of remaining fixed within the panel.

Screenshots:

Screenshot 2024-12-17 194936

Expected Behavior:

The h3 text should remain fully contained within the panel boundaries, regardless of its size.

Actual Behavior:

The h3 text overflows outside of the panel, becoming misaligned with the shrinking panel layout.

Proposed Solution:

.panel {
  overflow: hidden; 
}

.panel h3 {
  white-space: nowrap; 
  text-overflow: ellipsis;
  overflow: hidden; 
  position: absolute;
  bottom: 10px;
  left: 10px;
  margin: 0;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions