cockpit-project / cockpit-machines

Cockpit UI for virtual machines
GNU Lesser General Public License v2.1
299 stars 75 forks source link

The description is not entirely displayed if the description is too long during setting the VM description #1888

Closed yunmingyang closed 10 hours ago

yunmingyang commented 3 weeks ago

Description of problem: When setting the VM description, if the string is too long, the description may not be entirely displayed

Version-Release number of selected components (if applicable): cockpit-machines-322-11-g63ac3f46

mvollmer commented 3 weeks ago

This is too vague.

yunmingyang commented 3 weeks ago

Screenshot from 2024-11-04 13-51-54 @mvollmer please see the picture, this description is 400 length 's', and you could see that the description is not fully displayed. So maybe we could compress the description, and instread with a hint, maybe like that Screenshot from 2024-11-04 14-48-22 Not sure whether patterfly has a internal style to implement that

garrett commented 3 weeks ago

FWIW: The description shouldn't truncate arbitrarily, but should wrap around.

mvollmer commented 2 weeks ago

please see the picture, this description is 400 length 's', and you could see that the description is not fully displayed.

Ah, I see, thanks! Please try to provide concrete steps for reproduction in the future. Screenshots are indeed very helpful.