4.8.2: Улучшены отступы в форме редактирования цели
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m8s

This commit is contained in:
poignatov
2026-02-02 19:53:58 +03:00
parent de29e3f602
commit 763b13358e
4 changed files with 22 additions and 7 deletions

View File

@@ -1296,10 +1296,14 @@ function ConditionForm({ tasks, projects, onSubmit, onCancel, editingCondition,
{isEditing ? 'Сохранить' : 'Добавить'}
</button>
</div>
{type === 'project_points' && calculatedWeeksText && (
<div className="calculated-weeks-info" style={{ marginTop: '4px', textAlign: 'left', color: '#666', fontSize: '0.85em' }}>
<span>Срок: </span>
<span style={{ fontWeight: '600' }}>{calculatedWeeksText}</span>
{type === 'project_points' && (
<div className="calculated-weeks-info">
{calculatedWeeksText && (
<>
<span>Срок: </span>
<span style={{ fontWeight: '600' }}>{calculatedWeeksText}</span>
</>
)}
</div>
)}
</form>