From b837fc0acef36b62db9604ad735108c155e32c36 Mon Sep 17 00:00:00 2001
From: Phil Ringnalda <phil@chetcolibrary.org>
Date: Thu, 16 May 2024 13:54:41 -0700
Subject: [PATCH] Bug 36589: Advanced cataloging - restore the correct height
 of the clipboard

A simple direct fix for the height of the advanced editor's clipboard, which
is a <select size="10"> that's currently cut down to the height of one thick
line by CSS intended for non-multiple, non-sized selects with dropdown menus.

Test plan:
1. Set the pref EnableAdvancedCatalogingEditor to Enable
2. Cataloging -> Advanced editor
3. Note the Clipboard is a single line tall
4. Apply patch, shift+reload Advanced editor
5. Note the Clipboard is ten lines tall
---
 koha-tmpl/intranet-tmpl/prog/css/cateditor.css | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css b/koha-tmpl/intranet-tmpl/prog/css/cateditor.css
index 5cb3da2159..0b8bfe20b6 100644
--- a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css
+++ b/koha-tmpl/intranet-tmpl/prog/css/cateditor.css
@@ -65,6 +65,10 @@ body {
     font-size: 12px;
 }
 
+#clipboard {
+    height: auto;
+}
+
 /*> MARC editor */
 #editor .CodeMirror {
     line-height: 1.2;
-- 
2.44.0