Skip to content

Commit f8c4154

Browse files
committed
style: refine drag handle and drag-over/dragging states for task reorder
1 parent f4f7c51 commit f8c4154

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

style.css

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,19 @@ main > .container {
392392
}
393393

394394
/* Drag-and-drop reorder */
395+
.wrapper {
396+
position: relative;
397+
}
398+
.wrapper .content {
399+
margin-inline-start: 7px;
400+
}
395401
.task-drag-handle {
396402
cursor: grab;
397403
align-self: center;
398404
padding: 0.25rem;
405+
position: absolute;
406+
left: -18px;
407+
top: -12px;
399408
}
400409
.task-drag-handle:active {
401410
cursor: grabbing;
@@ -487,7 +496,7 @@ main > .container {
487496
/* ========= Task Meta (Priority + Tags) ========= */
488497
.task-meta {
489498
font-size: 0.8rem;
490-
font-size: clamp(0.75rem, 1.5vw, 1rem);
499+
font-size: clamp(0.87rem, 1.5vw, 1rem);
491500
}
492501

493502
.task-priority-badge {

0 commit comments

Comments
 (0)