fix(api-docs): Ask AI hides menu toggle at 800px

Increase the mediaQuery breakpoint for AskAI to avoid covering the menu toggle.
pull/5906/head
Jason Stirnaman 2025-03-17 13:12:11 -05:00
parent c3a3fbf6e1
commit 15cda93d28
1 changed files with 1 additions and 1 deletions

View File

@ -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 {