From 05202e1faf3b0deadab3a5accb616b82bf6b2634 Mon Sep 17 00:00:00 2001 From: Filip Christiansen <22807962+filipchristiansen@users.noreply.github.com> Date: Sun, 22 Jun 2025 23:19:22 +0200 Subject: [PATCH] =?UTF-8?q?fix(git=5Fform):=20prevent=20PAT=20=E2=80=9CGet?= =?UTF-8?q?=20your=20token=E2=80=9D=20link=20from=20overlapping=20sample-r?= =?UTF-8?q?epo=20buttons?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The PAT help link was positioned absolutely, which could overlap the example-repository buttons on smaller screens. We now increase the margin vertical from `mb-8` to `mb-12` to the controls row whenever the Private Repository checkbox is checked (`toggleAccessSettings`), ensuring enough vertical space while retaining the existing absolute positioning on md+ screens. --- src/server/templates/components/git_form.jinja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/templates/components/git_form.jinja b/src/server/templates/components/git_form.jinja index 2a694adb..5e58280e 100644 --- a/src/server/templates/components/git_form.jinja +++ b/src/server/templates/components/git_form.jinja @@ -24,7 +24,7 @@ const row = document.getElementById('controlsRow'); const show = checkbox.checked; container.classList.toggle('hidden', !show); - row.classList.toggle('mb-8', show); + row.classList.toggle('mb-12', show); }