«Все юниты таблицей» снова работает«All units as a table» works again
· Открыть на сайтеOpen on the site
ЦельGoal
Инвестор, который ищет конкретный юнит, а не проект, переключается на список всех юнитов и сразу видит их по цене за м² — без лишней прокрутки и в читаемом виде.An investor looking for a specific unit rather than a project switches to the list of all units and sees them by price per m² right away — no extra scrolling, in a readable form.
ЗадачаProblem
Кнопка «Все юниты таблицей» становилась нажатой, но на экране оставались карточки проектов: стиль списка карточек перебивал атрибут, который их скрывает, и таблица оказывалась ниже 10 000 px карточек. Так было с 20 октября: тесты нажимали кнопку и прокручивали к таблице сами, а то, что карточки остались, не проверяли. Если бы карточки просто скрылись, на компьютере таблица из восьми колонок в столбце ~580 px между фильтрами и картой рвала слова по буквам («Kusada si», «92 7 US D/м²»), строка — 164 px.The «All units as a table» button turned pressed, but the project cards stayed on screen: the card list's style overrode the attribute that hides it, and the table ended up below 10,000 px of cards. It had been so since 20 October: the tests clicked the button and scrolled to the table themselves, never checking that the cards were gone. Had the cards simply been hidden, on a computer the eight-column table in the ~580 px column between the filters and the map broke words letter by letter («Kusada si», «92 7 US D/m²»), 164 px per row.
Как решилиHow it was solved
- Скрытое теперь всегда скрыто: по кнопке и по ссылке …/lots/?view=units карточки исчезают, первый юнит — сразу под переключателем.Hidden is now always hidden: via the button and via a …/lots/?view=units link the cards disappear and the first unit sits right under the switch.
- В узком столбце компьютера юниты идут теми же двухстрочными строками, что на телефоне: «проект · город», затем «тип — цена», затем «м², цена за м², дата» и кнопки. Строка 101 px вместо 164, слова целые. На очень широком экране (столбец шире 820 px) остаётся обычная таблица.In the computer's narrow column units use the same two-line rows as on a phone: «project · city», then «type — price», then «m², price per m², date» and the buttons. 101 px per row instead of 164, words intact. On a very wide screen (column over 820 px) it stays a regular table.
- Заодно у строк юнитов на телефоне убран лишний отступ ячеек: строка в карточке проекта — 100 px вместо 142.Also, phone unit rows lost a stray cell padding: a row in a project card is 100 px instead of 142.
До и послеBefore and after


