Skip to content

Commit 65a0bbd

Browse files
fix(git_form): prevent PAT “Get your token” link from overlapping sample-repo buttons (#305)
The PAT help link was positioned absolutely, which could overlap the example-repository buttons. We now increase the vertical margin 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.
1 parent 49b941e commit 65a0bbd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/templates/components/git_form.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
const row = document.getElementById('controlsRow');
2525
const show = checkbox.checked;
2626
container.classList.toggle('hidden', !show);
27-
row.classList.toggle('mb-8', show);
27+
row.classList.toggle('mb-12', show);
2828
}
2929
</script>
3030
<div class="relative">

0 commit comments

Comments
 (0)