File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -272,6 +272,20 @@ function LockedRow({
272272 className = "flex items-center gap-2 rounded border border-transparent bg-gray-50 px-1 py-1"
273273 aria-label = { `${ label } (locked)` }
274274 >
275+ { /* Non-interactive drag-handle placeholder so the locked row's
276+ checkbox + label align with the sortable rows below
277+ (which have a real handle button at the start). Matches the
278+ handle button's exact box: `p-0.5` padding + `h-4 w-4` icon
279+ = a 20×20 px slot. Rendered faded (text-gray-300) to signal
280+ "this column would be draggable if it weren't locked"
281+ without inviting clicks. aria-hidden so screen readers
282+ skip it. */ }
283+ < span
284+ aria-hidden
285+ className = "inline-flex h-5 w-5 shrink-0 cursor-not-allowed items-center justify-center p-0.5 text-gray-300"
286+ >
287+ < GripVertical className = "h-4 w-4" aria-hidden />
288+ </ span >
275289 { onUnlock ? (
276290 < button
277291 type = "button"
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " django-admin-react"
3- version = " 1.4.2 "
3+ version = " 1.4.3 "
44description = " A drop-in React single-page admin for Django, driven entirely by ModelAdmin."
55authors = [" django-admin-react contributors" ]
66license = " MIT"
You can’t perform that action at this time.
0 commit comments