Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concept Details View: Badge-Style text rendering does not work well for long texts #396

Open
alexskr opened this issue Feb 25, 2025 · 2 comments

Comments

@alexskr
Copy link
Member

alexskr commented Feb 25, 2025

The newly introduced style of rendering texts in Concept Details View as badges does not work well for longer texts. When texts span multiple lines, the current badge styling leads to layout and readability issues.

Image

@jvendetti
Copy link
Member

Link to view this page in BioPortal: https://bioportal.bioontology.org/ontologies/CIDO?p=classes

@syphax-bouazzouni
Copy link
Contributor

You can add a check here of the size of each value, to know when to display as a badge or not https://github.com/ncbo/bioportal_web_ui/blob/master/app/components/concept_details_component.rb#L53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants