diff --git a/apps/api/internal/store/rate_limit_status.go b/apps/api/internal/store/rate_limit_status.go index 15c8439..1c4e4c5 100644 --- a/apps/api/internal/store/rate_limit_status.go +++ b/apps/api/internal/store/rate_limit_status.go @@ -75,7 +75,7 @@ LEFT JOIN ( AND t.queue_key = qp.platform_key || ':' || t.model_type || ':' || COALESCE(NULLIF(qm.provider_model_name, ''), qm.model_name) AND NOT EXISTS (SELECT 1 FROM gateway_task_attempts existing_attempt WHERE existing_attempt.task_id = t.id) UNION ALL - SELECT latest.task_id, latest.platform_model_id + SELECT latest.task_id::text AS task_id, latest.platform_model_id FROM ( SELECT DISTINCT ON (a.task_id) a.task_id, a.platform_model_id::text AS platform_model_id FROM gateway_tasks t diff --git a/apps/web/src/styles/playground.css b/apps/web/src/styles/playground.css index 29b261d..169c94f 100644 --- a/apps/web/src/styles/playground.css +++ b/apps/web/src/styles/playground.css @@ -1377,10 +1377,8 @@ gap: 2px; width: 100%; max-width: var(--media-grid-max-width, 100%); - max-height: 600px; justify-self: center; - overflow-y: auto; - overscroll-behavior: contain; + overflow: visible; } .mediaTile { @@ -1416,14 +1414,18 @@ .mediaEmptyTile { position: absolute; inset: 0; - display: grid; - place-items: center; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; gap: 10px; overflow: hidden; background: linear-gradient(110deg, #edf0f2 0%, #f7f8f9 42%, #e6eaee 78%); background-size: 220% 100%; color: #6b7280; font-size: var(--font-size-sm); + line-height: 1.4; + text-align: center; animation: mediaLoadingShimmer 1.35s ease-in-out infinite; }