Fix scroll calculation for project priorities list (v2.8.2)
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 22s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 22s
This commit is contained in:
@@ -864,7 +864,7 @@ function ProjectPriorityManager({ allProjectsData, currentWeekData, shouldLoad,
|
||||
const activeProject = allItems.find(item => item.name === activeId)
|
||||
|
||||
return (
|
||||
<div className="max-w-4xl mx-auto h-full flex flex-col">
|
||||
<div className="max-w-4xl mx-auto flex flex-col max-h-[calc(100vh-11rem)]">
|
||||
{onNavigate && (
|
||||
<div className="flex justify-end mb-4 flex-shrink-0">
|
||||
<button
|
||||
@@ -906,7 +906,7 @@ function ProjectPriorityManager({ allProjectsData, currentWeekData, shouldLoad,
|
||||
onDragEnd={handleDragEnd}
|
||||
onDragCancel={handleDragCancel}
|
||||
>
|
||||
<div className="space-y-6 overflow-y-auto flex-1 min-h-0">
|
||||
<div className="space-y-6 overflow-y-auto flex-1" style={{ minHeight: 0 }}>
|
||||
<SortableContext items={maxPriority.map(p => p.name)} strategy={verticalListSortingStrategy}>
|
||||
<PrioritySlot
|
||||
title="Максимальный приоритет (1 проект)"
|
||||
|
||||
Reference in New Issue
Block a user