LP1980874 Limit depth dropdown in patron notes
authorStephanie Leary <stephanie.leary@equinoxOLI.org>
Thu, 19 Jan 2023 15:18:40 +0000 (09:18 -0600)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 1 Mar 2023 16:34:07 +0000 (11:34 -0500)
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>
Signed-off-by: Jennifer Pringle <jennifer.pringle@bc.libraries.coop>
Signed-off-by: Galen Charlton <gmc@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>