From 3183da058ef6ce34ddad447f8c39245cd2e22bdb Mon Sep 17 00:00:00 2001 From: Jan Klass Date: Thu, 9 Oct 2025 08:23:31 +0200 Subject: [PATCH] Align list expand to top The jobs details is collapsed by default. When expanding, the middle-alignment CSS becomes visible. For any list of items, middle-aligning the content reduces overview and readability. For anything spanning more than a page, it becomes very confusing, or even infeasible to even locate the plugin name, the other metadata, and the details collapse control. My top "Number of Jobs" count is above 2,000. When I expand the jobs, the page becomes unusable, the plugin unidentifiable, the details uncollapsible. Scrolling through the page to find the middle of the expand across many scroll pages is awful usability. By top-aligning the labels and control the page remains usable, the long expand page-usage-recoverable. --- .../plugins/pluginusage/PluginUsageView/index.jelly | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/org/jenkinsci/plugins/pluginusage/PluginUsageView/index.jelly b/src/main/resources/org/jenkinsci/plugins/pluginusage/PluginUsageView/index.jelly index 409c46f..b9ca730 100644 --- a/src/main/resources/org/jenkinsci/plugins/pluginusage/PluginUsageView/index.jelly +++ b/src/main/resources/org/jenkinsci/plugins/pluginusage/PluginUsageView/index.jelly @@ -45,18 +45,18 @@ - + ${j.pluginName} - + ${j.pluginVersion} - + ${j.numberOfJobs} -
+
${%Details}