Created attachment 1433617 [details]
Type takes one line in 3.10
Description of problem:
Storage class drop-down item with type could just take one line height
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. In env with storage class that has a type, go to storage page to create storage
2. Check the storage class drop-down list
2. The item with type takes 2 lines height: name one line and type the other (see attachment)
2. The item with type could just take one line for consistent height display, like 3.7 ded-int-aws (see attachment)
3.9 free-stg reproduces too.
Created attachment 1433618 [details]
Type takes no other line in ded int aws 3.7
Dont think this is a bug.Type/Zone/Access/description params have visibly different size and are muted, which tells user that they are extra.
If anything I've noticed during testing that extra params are not breaking in case they are too long.
Created attachment 1433763 [details]
In case of long extra paramateres lines are not breaking
Created attachment 1433764 [details]
Breaking lines in case of long extra parameters
> The item with type takes 2 lines height: name one line and type the other (see attachment)
This is working as intended. For consistency, we show the storage class metadata always on the second line since it often has a description which takes some space. It would be odd for some metadata to appear on the same line and others on the second line, not to mention that the dropdown items would be different heights. It's better to always be able to look at the same place for the information.
Similarly we do not wrap text since it would cause layout problems if the description were very long.