From e40d838a4f73cf1a0bd5a35fdfd7a476b523d3f1 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+github@gmail.com>
Date: Mon, 31 Jan 2022 16:05:19 +0100
Subject: [PATCH] restructure html in order to prevent display glitches, fixes
 #618

---
 app/views/admin/install/prepare.php | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/app/views/admin/install/prepare.php b/app/views/admin/install/prepare.php
index d504c551732..95e728db9d6 100644
--- a/app/views/admin/install/prepare.php
+++ b/app/views/admin/install/prepare.php
@@ -6,21 +6,21 @@
 </p>
 
 <h3><?= _('SQL-Daten einspielen') ?></h3>
-<ul class="list-unstyled">
+<ul>
 <?php $i = 0; foreach ($files as $file => $description): ?>
     <li>
-    <?php if (in_array($file, $required)): ?>
-        <input type="hidden" name="files[]" value="<?= htmlReady($file) ?>">
-        <input type="checkbox" checked disabled>
-    <?php else: ?>
-        <input type="checkbox" name="files[]" value="<?= htmlReady($file) ?>"
-               id="option-<?= $i ?>">
-    <?php endif; ?>
-        <label for="option-<?= $i ?>">
+        <label for="option-<?= $i ?>" class="plain">
+        <?php if (in_array($file, $required)): ?>
+            <input type="hidden" name="files[]" value="<?= htmlReady($file) ?>">
+            <input type="checkbox" checked disabled>
+        <?php else: ?>
+            <input type="checkbox" name="files[]" value="<?= htmlReady($file) ?>"
+                   id="option-<?= $i ?>">
+        <?php endif; ?>
             <strong <?php if (in_array($file, $required)): ?>class="required"<?php endif; ?>>
                 <?= htmlReady($description) ?>
-            </strong>
-            (<?= htmlReady($file) ?>)
+            </strong><br>
+            <?= htmlReady($file) ?>
         </label>
     </li>
 <?php $i += 1; endforeach; ?>
-- 
GitLab