From 0453176544f384ca3013e39ca1a9f756a87e082d Mon Sep 17 00:00:00 2001 From: OpenClaw Agent Date: Sun, 15 Feb 2026 09:50:04 +0000 Subject: [PATCH] Fix BUG-033: Update OpenAPI spec with Pro tier rate limit (30 req/min) Fix BUG-032: Add 375px mobile breakpoint for terminal gap issues - Reduced container padding to 12px on smallest screens - Optimized code-section margins and padding - Improved terminal header and code-block spacing - Enhanced hero section padding for mobile --- public/index.html | 21 +++++++++++++++++++++ public/openapi.json | 2 +- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 065cf70..e2f3ccd 100644 --- a/public/index.html +++ b/public/index.html @@ -144,6 +144,27 @@ footer .container { display: flex; align-items: center; justify-content: space-b .trust-grid { gap: 24px; } } +/* Fix mobile terminal gaps at 375px and smaller */ +@media (max-width: 375px) { + .container { + padding: 0 12px !important; + } + .code-section { + margin: 32px auto 0; + max-width: calc(100vw - 24px) !important; + } + .code-header { + padding: 8px 12px; + } + .code-block { + padding: 12px !important; + font-size: 0.7rem; + } + .hero { + padding: 56px 0 40px; + } +} + /* Additional mobile overflow fixes */ html, body { overflow-x: hidden !important; diff --git a/public/openapi.json b/public/openapi.json index 811ada6..f3e5023 100644 --- a/public/openapi.json +++ b/public/openapi.json @@ -3,7 +3,7 @@ "info": { "title": "DocFast API", "version": "1.0.0", - "description": "Convert HTML, Markdown, and URLs to pixel-perfect PDFs. Built-in invoice & receipt templates.\n\n## Authentication\nAll conversion and template endpoints require an API key via `Authorization: Bearer ` or `X-API-Key: ` header.\n\n## Rate Limits\n- Free tier: 100 PDFs/month, 10 req/min\n- Pro tier: 10,000 PDFs/month\n\n## Getting Started\n1. Sign up at [docfast.dev](https://docfast.dev) or via `POST /v1/signup/free`\n2. Verify your email with the 6-digit code\n3. Use your API key to convert documents", + "description": "Convert HTML, Markdown, and URLs to pixel-perfect PDFs. Built-in invoice & receipt templates.\n\n## Authentication\nAll conversion and template endpoints require an API key via `Authorization: Bearer ` or `X-API-Key: ` header.\n\n## Rate Limits\n- Free tier: 100 PDFs/month, 10 req/min\n- Pro tier: 10,000 PDFs/month, 30 req/min\n\n## Getting Started\n1. Sign up at [docfast.dev](https://docfast.dev) or via `POST /v1/signup/free`\n2. Verify your email with the 6-digit code\n3. Use your API key to convert documents", "contact": { "name": "DocFast", "url": "https://docfast.dev" } }, "servers": [{ "url": "https://docfast.dev", "description": "Production" }],