diff --git a/css/common.css b/css/common.css index 44d0951..258fdf4 100644 --- a/css/common.css +++ b/css/common.css @@ -79,6 +79,14 @@ width: 100%; } +/* Keeps the legend centered beneath the results in normal document flow, so it + never overlays the bottom pagination or bulk-action controls. */ +.servcheck_legend_footer { + display: table; + width: 100%; + margin: 8px auto 0; +} + .servcheck_legend .servcheck_legend_item { text-align: center; white-space: nowrap; diff --git a/servcheck_test.php b/servcheck_test.php index 5dd0352..acb67bd 100644 --- a/servcheck_test.php +++ b/servcheck_test.php @@ -1365,7 +1365,9 @@ function data_list(): void { print $nav; } + print '
'; draw_actions_dropdown($servcheck_actions_menu, 1); diff --git a/tests/bin/patch-coverage.php b/tests/bin/patch-coverage.php index e65b53d..9843b2f 100644 --- a/tests/bin/patch-coverage.php +++ b/tests/bin/patch-coverage.php @@ -160,6 +160,9 @@ function changed_lines($base_ref) { * Empty by default; add entries per repository as the need arises. */ $unmeasured_allowlist = [ + // Web page controller: chdir()s and includes auth.php at the top level, so it + // cannot be loaded into the isolated unit process and is absent from Clover. + 'servcheck_test.php', ]; $unmeasured = array_values(array_diff(array_keys($changed), array_keys($measured))); $unexpected_unmeasured = array_values(array_diff($unmeasured, $unmeasured_allowlist));