From 680c2250a60af8d98eeab3c55a3804588a52c0e0 Mon Sep 17 00:00:00 2001 From: Nyan404 Date: Tue, 25 Aug 2026 21:43:41 +0300 Subject: [PATCH] fix: prevent skill field stretching --- docs/staging/bugs/2026-08-25-belki-bugs.md | 4 +++- structure_and_data.md | 1 + web/calculator.html | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/staging/bugs/2026-08-25-belki-bugs.md b/docs/staging/bugs/2026-08-25-belki-bugs.md index 160b5f3..a11b008 100644 --- a/docs/staging/bugs/2026-08-25-belki-bugs.md +++ b/docs/staging/bugs/2026-08-25-belki-bugs.md @@ -2,7 +2,7 @@ ## 21. Поле «Навык» растягивается по высоте -**Статус:** ожидает исправления. +**Статус:** выполнено 25.08.2026. **Источник:** сообщение пользователя со скриншотом от 25.08.2026. @@ -12,6 +12,8 @@ **Ожидаемое поведение:** поле «Навык» имеет стандартную высоту элемента формы и выравнивается по верхнему краю рядом с датой; сетка не должна растягивать сам select. +**Исправление:** для двухколоночной сетки задано выравнивание элементов по началу строки. Высота соседней колонки с кнопкой «Сегодня» больше не растягивает select «Навык». + ## 20. Явная отправка итогового отчёта из веб-формы **Статус:** выполнено 25.08.2026. diff --git a/structure_and_data.md b/structure_and_data.md index e9249f3..03d6bf9 100644 --- a/structure_and_data.md +++ b/structure_and_data.md @@ -107,6 +107,7 @@ - 2026-08-25: coaching reports allow an independence status for every kitten in both ЛУ and ЗУ. Natural input attaches `сам`/`не сам` written after a participant ID to that participant, and web ID fields use numeric-text input instead of spinner controls. - 2026-08-25: the earned-points calculator groups coaching start and end times in one responsive time-range row. - 2026-08-25: web reports use a two-step flow: `/api/calculate` prepares the message without saving it, then `/api/reports` stores it only after the user explicitly selects «Отправить отчёт». The UI disables that action while it is in progress and after success. +- 2026-08-25: shared two-column form grids align controls at the start of their row, preventing a date field with its helper button from stretching the adjacent skill select. - 2026-08-25: removed unreferenced root-level legacy BBCode copies `belki.md`, `belki2.md`, and `belkifix.md`; the first two were byte-identical and the third differed only by a closing BBCode tag. They were neither served nor referenced by the calculator, bot, or documentation. # Обновление 2026-08-16: несколько котят diff --git a/web/calculator.html b/web/calculator.html index 6cfadf0..7c96c3e 100644 --- a/web/calculator.html +++ b/web/calculator.html @@ -19,7 +19,7 @@ button:hover { border-color:var(--accent); background:#fff8ef; } button:focus-visible, a:focus-visible { outline:3px solid var(--focus); outline-offset:3px; } button.active, button.primary { background: var(--ink); color: #fffdfa; border-color: var(--ink); } button.active:hover, button.primary:hover { background:#45413d; } .panel { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 28px; box-shadow:0 10px 28px #3b30220d; } - .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } + .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; } label { display: grid; gap: 6px; color: #403b36; font-weight:700; } input, select, textarea { min-height:44px; width: 100%; border: 1px solid #c8c1b8; border-radius: 7px; padding: 9px 12px; background: #fff; color: var(--ink); } input:focus,select:focus,textarea:focus { outline:3px solid #9a542e2b; border-color:var(--accent); } textarea { min-height: 210px; resize: vertical; }