From 4eff41000900122a33e6c4efb46d6a22263e9d23 Mon Sep 17 00:00:00 2001 From: Nyan404 Date: Tue, 25 Aug 2026 21:45:32 +0300 Subject: [PATCH] feat: improve Belki mobile layout --- structure_and_data.md | 1 + web/calculator.html | 26 +++++++++++++++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/structure_and_data.md b/structure_and_data.md index 9d8a180..302eae4 100644 --- a/structure_and_data.md +++ b/structure_and_data.md @@ -109,6 +109,7 @@ - 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: mobile adaptation is a required acceptance criterion for all frontend changes; validate narrow-width layout, touch usability, focus/error states, and absence of horizontal overflow alongside desktop rendering. +- 2026-08-25: `/belki` now applies a dedicated narrow-width layout: single-column forms and application types, full-width actions, compact panels/dialogs, 16px form text to avoid mobile browser zoom, and responsive tabs without horizontal overflow. - 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 7c96c3e..094254b 100644 --- a/web/calculator.html +++ b/web/calculator.html @@ -7,7 +7,7 @@