Created attachment 1954865 [details] The Add volume modal doesn't look nice if PVC name too long Description of problem: Incorrect padding in Add volume modal if PVC name too long, PVC name dropdown wider than the modal. After closing the drop down, the incorrect padding remains. Version-Release number of selected component (if applicable): 4.13.0 How reproducible: always Steps to Reproduce: 1. Go to Virtualization > Catalog > InstanceTypes 2. Click on Add volume button 3. Select Use existing volume radio button and select some PVC project 4. In PVC name drop down, select some resource with very long name Actual results: The modal suddenly has a bad padding, the PVC name dropdown is wider than the modal window, it doesn't look good. After closing the drop down, the incorrect padding for components in the modal remains. Expected results: Not sure about the expected results, but maybe we could display the long name the same way as we display too long Description in Bootable volumes list: with "..." at the end of the visible part of the text + popover shows the whole text. For practical reasons regarding the drop down, maybe the popover could be displayed on hover, not on click. Additional info:
After discussion with Yifat, we've decided to fix this by displaying long name in the drop down by adding "..." at the end of the visible part of the pvc name + popover that shows the whole text on hover.
verified on kubevirt-console-plugin-rhel9-container-v4.14.0-1047
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Virtualization 4.14.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2023:6817