We can prevent the longer labels from overflowing the modal when the <select> is closed. Unfortunately, we can't prevent the individual options from overflowing when the dropdown is open. The <option> tag has almost no CSS support other than color and background-color, so all the properties that would be useful here do not work: width, max-width, overflow, word-wrap, and overflow-wrap are all unsupported.
Unless we want to turn this field into a combobox, this is as good as it gets.
We can prevent the longer labels from overflowing the modal when the <select> is closed. Unfortunately, we can't prevent the individual options from overflowing when the dropdown is open. The <option> tag has almost no CSS support other than color and background-color, so all the properties that would be useful here do not work: width, max-width, overflow, word-wrap, and overflow-wrap are all unsupported.
Unless we want to turn this field into a combobox, this is as good as it gets.
Branch here: /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ sleary/ lp1980874- patron- note-dropdown- width
https:/