From 7892e6c822d482f77e09960d7dd2fbeccad4cff3 Mon Sep 17 00:00:00 2001 From: Jan Faracik <43062514+janfaracik@users.noreply.github.com> Date: Mon, 15 Nov 2021 20:10:01 +0000 Subject: [PATCH] Fix misaligned badges --- .../AdministrativeMonitorsConfiguration/config.groovy | 2 +- war/src/main/less/modules/badges.less | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/resources/jenkins/management/AdministrativeMonitorsConfiguration/config.groovy b/core/src/main/resources/jenkins/management/AdministrativeMonitorsConfiguration/config.groovy index 6327d38955d6..70b2cf800c90 100644 --- a/core/src/main/resources/jenkins/management/AdministrativeMonitorsConfiguration/config.groovy +++ b/core/src/main/resources/jenkins/management/AdministrativeMonitorsConfiguration/config.groovy @@ -36,7 +36,7 @@ f.section(title: _("Administrative monitors configuration")) { div(width: "100%") { for (AdministrativeMonitor am : new ArrayList<>(AdministrativeMonitor.all()) .sort({ o1, o2 -> o1.getDisplayName() <=> o2.getDisplayName() })) { - f.block() { + div(class: "jenkins-checkbox-help-wrapper", style: "margin-bottom: 0.75rem;") { f.checkbox(name: "administrativeMonitor", title: am.displayName, checked: am.enabled, diff --git a/war/src/main/less/modules/badges.less b/war/src/main/less/modules/badges.less index e81de42cfdda..a91a33f6faad 100644 --- a/war/src/main/less/modules/badges.less +++ b/war/src/main/less/modules/badges.less @@ -13,7 +13,7 @@ font-size: 0.75rem; font-weight: 500; padding: 0 0.5rem; - margin: 0 0.25rem 0.25rem 0; + margin: 0 0.25rem 0 0; text-decoration: none; text-align: center; white-space: nowrap;