Убрана карточка приёмника, читаемые заголовки панелей

This commit is contained in:
2026-08-20 08:02:38 +03:00
parent f48aa3bcbd
commit cf0eb6dccd
3 changed files with 9 additions and 27 deletions
-2
View File
@@ -906,11 +906,9 @@ def test_layout_adapts_to_small_console(cfg, monkeypatch):
board = dash.query_one("#board").size.height
bottom = dash.query_one("#bottom").size.height
assert board + bottom <= 24 - 4 # шапка 2 + статус 1 + футер 1
assert not dash.query_one("#target-card").display
await pilot.resize_terminal(160, 50)
await pilot.pause()
assert not dash.has_class("narrow") and not dash.has_class("short")
assert dash.query_one("#target-card").display
asyncio.run(scenario())