UI: remove duplicate icons in Someday lists, left-align task actions, and fix mobile overlay. Version 1.15.1
This commit is contained in:
parent
9cde2e4de2
commit
3ea57fb8b4
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "my-weekly-todo-list",
|
"name": "my-weekly-todo-list",
|
||||||
"version": "1.15.0",
|
"version": "1.15.1",
|
||||||
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
|
"description": "A web-based weekly task management application that organizes to-dos and calendar events in a single, intuitive weekly view",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -958,8 +958,9 @@ h3 {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
left: 0;
|
||||||
top: -26px;
|
right: auto;
|
||||||
|
top: -28px;
|
||||||
background: var(--weekly-bg, white);
|
background: var(--weekly-bg, white);
|
||||||
border: 1px solid var(--weekly-border, #e0e0e0);
|
border: 1px solid var(--weekly-border, #e0e0e0);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
@ -3306,6 +3307,7 @@ h3 {
|
|||||||
opacity: 1;
|
opacity: 1;
|
||||||
pointer-events: auto;
|
pointer-events: auto;
|
||||||
visibility: visible;
|
visibility: visible;
|
||||||
|
top: -45px; /* Larger offset for mobile to avoid text overlap */
|
||||||
}
|
}
|
||||||
/* Larger tap targets for action buttons */
|
/* Larger tap targets for action buttons */
|
||||||
.task-action-btn {
|
.task-action-btn {
|
||||||
|
|||||||
@ -6811,7 +6811,7 @@ function TaskItem({
|
|||||||
return (
|
return (
|
||||||
<li
|
<li
|
||||||
ref={taskItemRef}
|
ref={taskItemRef}
|
||||||
className={`weekly-task-item ${variant} ${task.completed ? "completed" : ""} ${task.completed && showTaskCheckboxes ? "completed-with-checkbox" : ""} ${isSomeday ? "relative mx-2" : ""} ${touchActive ? "touch-active" : ""} ${swipeX !== 0 ? "task-swipe-container" : ""}`}
|
className={`weekly-task-item ${variant} ${task.completed ? "completed" : ""} ${task.completed && showTaskCheckboxes ? "completed-with-checkbox" : ""} ${isSomeday ? "relative mx-2 w-full" : ""} ${touchActive ? "touch-active" : ""} ${swipeX !== 0 ? "task-swipe-container" : ""}`}
|
||||||
style={task.project?.color ? { borderLeft: `3px solid ${task.project.color}`, paddingLeft: "6px" } : undefined}
|
style={task.project?.color ? { borderLeft: `3px solid ${task.project.color}`, paddingLeft: "6px" } : undefined}
|
||||||
draggable={!isEditing && !isNotesOpen && swipeX === 0}
|
draggable={!isEditing && !isNotesOpen && swipeX === 0}
|
||||||
onDragStart={(e) => {
|
onDragStart={(e) => {
|
||||||
@ -6992,7 +6992,7 @@ function TaskItem({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{task.externalProvider && (
|
{task.externalProvider && !isSomeday && (
|
||||||
<span
|
<span
|
||||||
title={`Synced with ${task.externalProvider === "outlook" ? "Microsoft To Do" : task.externalProvider === "google" ? "Google Tasks" : task.externalProvider === "apple" ? "Apple Reminders" : task.externalProvider === "synology" ? "Synology Tasks" : task.externalProvider}`}
|
title={`Synced with ${task.externalProvider === "outlook" ? "Microsoft To Do" : task.externalProvider === "google" ? "Google Tasks" : task.externalProvider === "apple" ? "Apple Reminders" : task.externalProvider === "synology" ? "Synology Tasks" : task.externalProvider}`}
|
||||||
className="flex-shrink-0"
|
className="flex-shrink-0"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user