Skip to content

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

Open
amadulhaxxani wants to merge 1 commit into
clarin-v7from
168-the-subject-key-at-items-view-page-doesnt-extend-to-new-line-and-overflows
Open

fix(subject-badge): add text-wrap and text-left to prevent overflow#171
amadulhaxxani wants to merge 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.

</span>
<span *ngIf="type === 'subject'" class="pr-1">
<a class="badge badge-info text-white cursor-pointer mr-1"
<a class="badge text-wrap text-left badge-info text-white cursor-pointer mr-1"
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

2 participants