4.8.2: Улучшены отступы в форме редактирования цели
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m8s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 1m8s
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
@@ -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">
|
||||||
<span>Срок: </span>
|
{calculatedWeeksText && (
|
||||||
<span style={{ fontWeight: '600' }}>{calculatedWeeksText}</span>
|
<>
|
||||||
|
<span>Срок: </span>
|
||||||
|
<span style={{ fontWeight: '600' }}>{calculatedWeeksText}</span>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Reference in New Issue
Block a user