molgenis / molgenis-emx2

MOLGENIS EMX2, the latest version of the MOLGENIS data platform.
GNU Lesser General Public License v3.0
14 stars 16 forks source link

Edge case with repeated variables "bubble" (+10, etc) being split over two lines --> #3805

Closed EleanorHyde-UMCG closed 3 months ago

EleanorHyde-UMCG commented 4 months ago

What version of EMX2 are you using (see footer) v10.71.1

Describe the bug When I go to the variables explorer and see variables with both a long name and repeats (which means they have "+10" (eg) after the variable name), the "+10" bubble gets split over two lines. Ideally the +10 bubble would start on the next line if necessary.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://data-catalogue-acc.molgeniscloud.org/catalogue/ssr-catalogue/EUChildNetwork/variables?page=1&conditions=[{%22id%22:%22search%22,%22search%22:%22food_all_sens%22}]
  2. View the list of variables and see that they are all long and almost all have repeats.
  3. See how the "+10" bubble gets split over two lines.

Expected behavior I would expect the "+10" bubble not to get split but to start on the next line if necessary.

Screenshots image

Desktop (please complete the following information):

EleanorHyde-UMCG commented 4 months ago

Unfortunately I'm getting the same results in Acc with this:

Image

EleanorHyde-UMCG commented 4 months ago

Maybe we need to create some test variables with repeats and long enough names for you to test this in dev?