From 7dd12fc3ad8a88980db73c87a17ce4ff55f137fb Mon Sep 17 00:00:00 2001 From: pewdiepie-archdaemon Date: Mon, 1 Jun 2026 10:51:55 +0900 Subject: [PATCH] Fix landing footer snap and uvicorn docs --- README.md | 4 ++-- docs/index.html | 2 +- setup.py | 2 +- static/landing.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 92646c9..cf44bdf 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ python3 -m venv venv source venv/bin/activate pip install -r requirements.txt python setup.py # creates data dirs and prints an initial admin password -uvicorn app:app --host 0.0.0.0 --port 7000 +python -m uvicorn app:app --host 0.0.0.0 --port 7000 ``` ### Option 3: Manual install — Windows (PowerShell) @@ -119,7 +119,7 @@ python -m venv venv venv\Scripts\Activate.ps1 pip install -r requirements.txt python setup.py -uvicorn app:app --host 0.0.0.0 --port 7000 +python -m uvicorn app:app --host 0.0.0.0 --port 7000 ``` Open `http://localhost:7000`, log in with the generated admin password, diff --git a/docs/index.html b/docs/index.html index 69ccc9f..001dffd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -362,7 +362,7 @@ .pill-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 44px; } .pill { font-size: 12.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; background: var(--panel); } - footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: 13px; } + footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: 13px; scroll-snap-align: end; } footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; } @media (max-width: 820px) { diff --git a/setup.py b/setup.py index 43cfdbb..e13e83f 100644 --- a/setup.py +++ b/setup.py @@ -143,7 +143,7 @@ def main(): print("\n=== Setup complete ===") print(f"\nStart the server with:") - print(f" uvicorn app:app --host 0.0.0.0 --port 7000") + print(f" python -m uvicorn app:app --host 0.0.0.0 --port 7000") print(f"\nThen open http://localhost:7000") print(f"Login with the admin username and temporary password printed above.\n") diff --git a/static/landing.html b/static/landing.html index c0a0b59..f983786 100644 --- a/static/landing.html +++ b/static/landing.html @@ -290,7 +290,7 @@ .pill-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; } .pill { font-size: 12.5px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px; background: var(--panel); } - footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: 13px; } + footer { border-top: 1px solid var(--border); padding: 30px 0; color: var(--muted); font-size: 13px; scroll-snap-align: end; } footer .wrap { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; } @media (max-width: 820px) {