Skip to content

Conversation

@curious-broccoli
Copy link
Contributor

@curious-broccoli curious-broccoli commented Jul 14, 2025

Description

Clamp the description of competition search results to n lines because they took too much space.

Unlike the description clamping in <competition-tile>, this uses purely css. Although the used css properties seem not well supported, it seems that they are actually.

Issues this PR resolves

#1902 (issue title is misleading though)

A checklist for hand testing

  • (Ideally with older browser) Check that the text is clamped and ends with ellipsis

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer

@curious-broccoli
Copy link
Contributor Author

if you need to turn this into your own MR for merge reasons, feel free to

@Didayolo Didayolo linked an issue Jul 15, 2025 that may be closed by this pull request
@Didayolo
Copy link
Member

Hi @curious-broccoli,

Thank you very much for your contribution. Be sure that we'll review it soon.

@Didayolo Didayolo changed the base branch from develop to clamp-search-description July 15, 2025 09:03
@Didayolo Didayolo merged commit aaff5c8 into codalab:clamp-search-description Jul 15, 2025
@Didayolo
Copy link
Member

Merging into clamp-search-description branch

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.

Homepage search filter - Description display is too long

2 participants