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

@@ -1 +1 @@
4.8.1 4.8.2

View File

@@ -1,6 +1,6 @@
{ {
"name": "play-life-web", "name": "play-life-web",
"version": "4.8.1", "version": "4.8.2",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -323,7 +323,7 @@
} }
.condition-form form { .condition-form form {
padding: 1.5rem; padding: 1.5rem 1.5rem 0.75rem 1.5rem;
flex: 1; flex: 1;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -333,6 +333,17 @@
display: flex; display: flex;
gap: 1rem; gap: 1rem;
margin-top: 1.5rem; margin-top: 1.5rem;
margin-bottom: 0.125rem;
}
.calculated-weeks-info {
margin-top: 0.125rem;
margin-bottom: 0;
text-align: left;
color: #666;
font-size: 0.85em;
min-height: 1.2em;
line-height: 1.2em;
} }
.submit-button { .submit-button {

View File

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