mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-02 19:02:06 +00:00
feat(tui-v2): cap card width, fix hint casing, verb-first compact strip
Add max_width=72 to _board_card so Content cards don't stretch across viewport. Capitalize Nostr QR Private hint. Compact mode global strip now uses verb-first labels matching normal and dense modes. Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
1 parent
de12289d3e
commit
08e71bd1b4
4 files changed
+45
-8
No files matched your search
@@ -1263,7 +1263,7 @@ async def test_tui2_textual_compact_layout_hides_link_panel_and_can_restore() ->
|
||||
await pilot.pause()
|
||||
link_detail = app.query_one("#link-detail", Static)
|
||||
assert link_detail.has_class("hidden")
|
||||
assert "Compact" in _widget_text(app, "#action-strip")
|
||||
assert "Settings (S)" in _widget_text(app, "#action-strip")
|
||||
detail = _widget_text(app, "#entry-detail")
|
||||
assert "Tags: alpha, beta" in detail
|
||||
assert "Notes: compact note" in detail
|
||||
@@ -1275,7 +1275,7 @@ async def test_tui2_textual_compact_layout_hides_link_panel_and_can_restore() ->
|
||||
app._update_responsive_layout(width=120)
|
||||
await pilot.pause()
|
||||
assert link_detail.has_class("hidden")
|
||||
assert "Compact" in _widget_text(app, "#action-strip")
|
||||
assert "Settings (S)" in _widget_text(app, "#action-strip")
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
|
||||
Reference in new issue
Block a user