LP1980874 Limit depth dropdown in patron notes user/sleary/lp1980874-patron-note-dropdown-width
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Thu, 19 Jan 2023 15:18:40 +0000 (09:18 -0600)
committerStephanie Leary <stephanie.leary@equinoxOLI.org>
Thu, 19 Jan 2023 15:18:40 +0000 (09:18 -0600)
Adds standard form control styling to the depth select menu in the
Patron > Create Note modal. This limits the width of the closed dropdown
to the width of the form and prevents long labels from overflowing.

This does not prevent the individual options from overflowing the
<select> width due to the limited CSS support for the <option> tag; all
width and text wrap properties are currently unsupported.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxOLI.org>
Open-ILS/src/templates/staff/share/t_share_depth_selector.tt2

index 2633eac..d9329a0 100644 (file)
@@ -1,4 +1,4 @@
-<select
+<select class="form-control"
   ng-options="item.id as item.name for item in values"
   ng-model="ngModel"
 </select>