Elsa-Health / Elsa-Health/ohap

Dataset name runs too long and breaks the UI Flow

Open
#2 0 comments 0 reactions 1 assignee Claimed by @3210jr View on GitHub
good first issue
Dominant language
JavaScript
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When searching and viewing the datasets list, the full dataset name is presented and can run multiple lines and therefore breaking the UI flow.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '/datasets'
2. After models load, you will see dataset name can be as long as possible

**Expected behavior**
The name should be truncated and not allowed to enter the second line

**Screens
![Screenshot from 2022-05-18 03-11-03](https://user-images.githubusercontent.com/11012023/168931979-586468db-395a-4275-8889-0477ccb7f1c6.png)
hots**

**Desktop (please complete the following information) & Mobile:**
- OS: All
- Browser - All browsers

**Additional context**
Could probably be fixed with a bit of css `text-overflow: ellipsis;` or javascript `.slice` magic

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.