From 15cda93d28172a99c808a01a8f05ab8ce7c2c125 Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Mon, 17 Mar 2025 13:12:11 -0500 Subject: [PATCH] fix(api-docs): Ask AI hides menu toggle at 800px Increase the mediaQuery breakpoint for AskAI to avoid covering the menu toggle. --- api-docs/template.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-docs/template.hbs b/api-docs/template.hbs index 4c3e2597c..b98a20687 100755 --- a/api-docs/template.hbs +++ b/api-docs/template.hbs @@ -55,7 +55,7 @@ askAI.setAttribute('data-modal-example-questions', 'How do I write and query data with the {{title}}?, How do I use client libraries for the {{title}}?'); askAI.setAttribute('data-button-height', '65px'); askAI.setAttribute('data-button-width', '65px'); - if (window.matchMedia('(max-width: 600px)').matches) { + if (window.matchMedia('(max-width: 800px)').matches) { // For mobile devices (smaller than 600px) askAI.setAttribute('data-button-position-bottom', '130px'); } else {