Skip to content

Commit 7ac52e7

Browse files
committed
fix(ui): add missing cursor-pointer styles to inputs in ingest form
1 parent 4b1c90b commit 7ac52e7

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/server/templates/components/git_form.jinja

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<select id="pattern_type"
7575
onchange="changePattern(this)"
7676
name="pattern_type"
77-
class="w-21 py-2 pl-2 pr-6 appearance-none bg-[#e6e8eb] focus:outline-none border-r-[3px] border-gray-900">
77+
class="w-21 py-2 pl-2 pr-6 appearance-none bg-[#e6e8eb] focus:outline-none border-r-[3px] border-gray-900 cursor-pointer">
7878
<option value="exclude"
7979
{% if pattern_type == 'exclude' or not pattern_type %}selected{% endif %}>
8080
Exclude
@@ -119,13 +119,14 @@
119119
<div class="flex flex-col items-start w-full sm:col-span-2 lg:col-span-1 lg:row-span-2 lg:pt-3.5">
120120
<!-- PAT checkbox -->
121121
<div class="flex items-center space-x-2">
122-
<label for="showAccessSettings" class="flex gap-2 text-gray-900">
122+
<label for="showAccessSettings"
123+
class="flex gap-2 text-gray-900 cursor-pointer">
123124
<div class="relative w-6 h-6">
124125
<input type="checkbox"
125126
id="showAccessSettings"
126127
onchange="toggleAccessSettings()"
127128
{% if token %}checked{% endif %}
128-
class="peer appearance-none w-full h-full rounded-sm border-[3px] border-current bg-white m-0 text-current shadow-[3px_3px_0_currentColor]" />
129+
class="cursor-pointer peer appearance-none w-full h-full rounded-sm border-[3px] border-current bg-white m-0 text-current shadow-[3px_3px_0_currentColor]" />
129130
<span class="absolute inset-0 w-3 h-3 m-auto scale-0 transition-transform duration-150 ease-in-out shadow-[inset_1rem_1rem_#FE4A60] bg-[CanvasText] origin-bottom-left peer-checked:scale-100"
130131
style="clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%)"></span>
131132
</div>
@@ -135,7 +136,7 @@
135136
</div>
136137
<!-- PAT field -->
137138
<div id="accessSettingsContainer"
138-
class="{% if not token %}hidden {% endif %}mt-2 w-full">
139+
class="{% if not token %}hidden {% endif %}mt-3 w-full">
139140
<div class="relative w-full">
140141
<div class="w-full h-full rounded bg-gray-900 translate-y-1 translate-x-1 absolute inset-0 z-10"></div>
141142
<div class="flex relative z-20 border-[3px] border-gray-900 rounded bg-white">

0 commit comments

Comments
 (0)