diff --git a/VERSION b/VERSION index a69aa5a..bafdf70 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.19.0 +4.20.0 diff --git a/play-life-web/package.json b/play-life-web/package.json index 7382c10..cdf2a75 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "4.19.0", + "version": "4.20.0", "type": "module", "scripts": { "dev": "vite", diff --git a/play-life-web/src/components/TaskList.css b/play-life-web/src/components/TaskList.css index 2080e88..1fc74dd 100644 --- a/play-life-web/src/components/TaskList.css +++ b/play-life-web/src/components/TaskList.css @@ -670,10 +670,15 @@ } .project-group-header { + position: sticky; + top: 0; + z-index: 10; + background: #f3f4f6; margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; + min-height: 2.5rem; } .project-group-header-clickable { diff --git a/play-life-web/src/components/TaskList.jsx b/play-life-web/src/components/TaskList.jsx index 5892ae3..e57bfb9 100644 --- a/play-life-web/src/components/TaskList.jsx +++ b/play-life-web/src/components/TaskList.jsx @@ -942,7 +942,7 @@ function TaskList({ onNavigate, data, loading, backgroundLoading, error, onRetry title={hasCompleted ? (isCompletedExpanded ? 'Скрыть выполненные' : 'Показать выполненные') : undefined} >

{projectName}

- {hasCompleted && ( + {hasCompleted ? ( + ) : ( +
+ +
)}