Skip to content

fix(subject-badge): add text-wrap and text-left to prevent overflow - #171

Merged
kosarko merged 1 commit into
clarin-v7from
168-the-subject-key-at-items-view-page-doesnt-extend-to-new-line-and-overflows
Oct 23, 2026
Merged

kosarko merged 1 commit into
clarin-v7from
168-the-subject-key-at-items-view-page-doesnt-extend-to-new-line-and-overflows

Conversation

@amadulhaxxani

Copy link
Copy Markdown

Problem description

Long subject keywords on the item page were overflowing the badge area and wrapping text was centered, making it hard to read.

Analysis

Problems

Copilot review

  • Requested review from Copilot

Copilot AI review requested due to automatic review settings July 16, 2026 09:52

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR targets the item page’s subject metadata rendering to prevent long subject keywords from overflowing their badge and to improve readability by left-aligning wrapped text.

Changes:

  • Adds additional CSS utility classes to the subject badge anchor element to encourage wrapping and left alignment.

@kosarko

kosarko commented Oct 23, 2026

Copy link
Copy Markdown
Member
pr171-before-after

@kosarko
kosarko merged commit e69a272 into clarin-v7 Oct 23, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The subject key at items view page doesn't extend to new line and overflows

3 participants