Skip to content

fix: resolve inconsistent subject-count tag size in search dropdown #510

Merged
Skywalker-organa merged 2 commits into
CodeChefVIT:stagingfrom
tvesha09:staging
Jun 9, 2026
Merged

fix: resolve inconsistent subject-count tag size in search dropdown #510
Skywalker-organa merged 2 commits into
CodeChefVIT:stagingfrom
tvesha09:staging

Conversation

@tvesha09

@tvesha09 tvesha09 commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

📌 Purpose

Fix the inconsistent size of subject-count tag in search dropdown

Corresponding issue: closes #507


🔧 Changes

  • Added shrink-0 to the subject count badge wrapper (#paper_count) to prevent Flexbox from distorting its dimensions when adjacent text is exceptionally long.
  • applied flex-1 and min-w-0 to the subject title wrapper to safely enforce text truncation rules.

@Skywalker-organa Skywalker-organa merged commit dd49428 into CodeChefVIT:staging Jun 9, 2026
1 check 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.

Inconsistent size of subject-count tag in search dropdown

2 participants