From 67a63bd313bce88f821eaaced132605112320921 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 31 Jul 2015 17:34:56 -0400 Subject: [PATCH] API Explorer - Fix jumpy select boxes --- templates/CRM/Admin/Page/APIExplorer.tpl | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/templates/CRM/Admin/Page/APIExplorer.tpl b/templates/CRM/Admin/Page/APIExplorer.tpl index ed6ac69fc4..03229c9ea1 100644 --- a/templates/CRM/Admin/Page/APIExplorer.tpl +++ b/templates/CRM/Admin/Page/APIExplorer.tpl @@ -53,11 +53,24 @@ #api-params-table th:first-child, #api-params-table td:first-child { width: 35%; + min-width: 190px; + } + #api-params-table td[colspan] { + width: 100%; } #api-params-table td:first-child + td, - #api-params-table th:first-child + th, + #api-params-table th:first-child + th { + width: 140px; + } + #api-params-table td:first-child + td select { + width: 132px; + } + #api-params-table td:first-child + td + td, + #api-params-table th:first-child + th + th { + width: 65% + } #api-generated td:first-child { - width: 9em; + width: 60px; } #api-params { min-height: 1em; @@ -65,6 +78,9 @@ #api-params .red-icon { margin-top: .5em; } + .api-param-remove { + float: right; + } #mainTabContainer label { display: inline; font-weight: bold; -- 2.25.1