Skip to content

Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)

Python

Keep Admin sidebar pinned at page bottom (#1616)

Ali Khokhare4023b28096d
diff --git a/e2e/test_admin_providers.py b/e2e/test_admin_providers.py
index e1c12e08..3e08c97d 100644
--- a/e2e/test_admin_providers.py
+++ b/e2e/test_admin_providers.py
@@ -57,6 +57,21 @@ def test_missing_provider_configuration_scrolls_to_exact_field(
)
+def test_desktop_sidebar_stays_pinned_at_document_bottom(
+ page: Page,
+ admin_base_url: str,
+) -> None:
+ _open_admin(page, admin_base_url, {"width": 1280, "height": 720})
+ sidebar = page.locator(".sidebar")
+
+ page.evaluate("window.scrollTo(0, document.documentElement.scrollHeight)")
+
+ sidebar_top = float(
+ sidebar.evaluate("element => element.getBoundingClientRect().top")
+ )
+ assert sidebar_top == pytest.approx(0, abs=0.5)
+
+
def test_configured_provider_check_keeps_readiness_and_adds_models(
page: Page,
admin_base_url: str,
diff --git a/pyproject.toml b/pyproject.toml
index e0f1d33f..0bab92f2 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "free-claude-code"
-version = "5.17.3"
+version = "5.17.4"
description = "Local proxy connecting coding agents to OpenAI-compatible AI providers"
readme = "README.md"
requires-python = ">=3.14.0"
diff --git a/src/free_claude_code/api/admin_static/admin.css b/src/free_claude_code/api/admin_static/admin.css
index a19c851a..b6abaac0 100644
--- a/src/free_claude_code/api/admin_static/admin.css
+++ b/src/free_claude_code/api/admin_static/admin.css
@@ -104,7 +104,6 @@ textarea {
display: grid;
grid-template-columns: 260px minmax(0, 1fr);
min-height: 100vh;
- padding-bottom: 96px; /* Space for action bar */
}
/* Sidebar Navigation */
@@ -201,6 +200,7 @@ textarea:focus-visible,
.main {
min-width: 0;
padding: 40px 48px;
+ padding-bottom: calc(40px + 96px); /* Fixed action bar clearance */
}
.topbar {
@@ -802,7 +802,6 @@ textarea:focus-visible,
.app-shell {
display: flex;
flex-direction: column;
- padding-bottom: 180px; /* More room for stacked action bar */
}
.sidebar {
@@ -820,6 +819,7 @@ textarea:focus-visible,
.main {
padding: 24px 20px;
+ padding-bottom: calc(24px + 180px); /* Stacked action bar clearance */
}
.action-bar {
diff --git a/uv.lock b/uv.lock
index 64af5779..b26f9c60 100644
--- a/uv.lock
+++ b/uv.lock
@@ -598,7 +598,7 @@ wheels = [
[[package]]
name = "free-claude-code"
-version = "5.17.3"
+version = "5.17.4"
source = { editable = "." }
dependencies = [
{ name = "aiohttp" },