Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update the nav icon button size contract to the 30px box (#7979)

Daniel Han2768d95d2e4e
diff --git a/tests/studio/test_desktop_reliability_frontend_contract.py b/tests/studio/test_desktop_reliability_frontend_contract.py
index b5de4a37f4b..382cb407de8 100644
--- a/tests/studio/test_desktop_reliability_frontend_contract.py
+++ b/tests/studio/test_desktop_reliability_frontend_contract.py
@@ -401,7 +401,7 @@ def test_collapsed_tauri_keeps_history_arrows_and_adds_new_chat_by_model_picker(
assert navigation.count('aria-label="Go back"') == 1
assert navigation.count('aria-label="Go forward"') == 1
- assert "inline-flex size-[33px] shrink-0" in navigation
+ assert "inline-flex size-[30px] shrink-0" in navigation
assert navigation.count("onDoubleClick={stopTitlebarDrag}") == 3
assert "maximized" not in navigation
@@ -417,7 +417,7 @@ def test_collapsed_tauri_keeps_history_arrows_and_adds_new_chat_by_model_picker(
assert '"--studio-collapsed-chat-controls-inset": "188px"' in APP_PROVIDER.read_text(
encoding = "utf-8"
)
- assert 'className="!size-[33px] rounded-[10px] text-muted-foreground"' in chat_page
+ assert 'className="!size-[30px] rounded-[10px] text-muted-foreground"' in chat_page
assert 'aria-label="New chat"' in chat_page
new_chat_click = chat_page.index("onClick={handleDesktopNewChat}")
assert new_chat_click < chat_page.index("<ModelSelector", new_chat_click)