Skip to content

Commit 15cda93

Browse files
committed
fix(api-docs): Ask AI hides menu toggle at 800px
Increase the mediaQuery breakpoint for AskAI to avoid covering the menu toggle.
1 parent c3a3fbf commit 15cda93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api-docs/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
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}}?');
5656
askAI.setAttribute('data-button-height', '65px');
5757
askAI.setAttribute('data-button-width', '65px');
58-
if (window.matchMedia('(max-width: 600px)').matches) {
58+
if (window.matchMedia('(max-width: 800px)').matches) {
5959
// For mobile devices (smaller than 600px)
6060
askAI.setAttribute('data-button-position-bottom', '130px');
6161
} else {

0 commit comments

Comments
 (0)