Skip to content

Commit 770fa08

Browse files
author
ebembi-crdb
committed
Fix widget modal positioning to avoid header overlap
Add data-modal-y-offset and data-modal-z-index parameters to the Kapa widget script to ensure the modal appears below the header and on top of other page elements.
1 parent af85aec commit 770fa08

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/current/_includes/head.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@
151151
data-kapa-branding-hide="true"
152152
data-modal-title="CockroachDB AI"
153153
data-modal-disclaimer="This AI bot is experimental. Don't rely on it for production workloads. Always consult the official CockroachDB documentation. Interactions with this AI bot may be monitored or recorded, and your use of the AI bot is subject to the Cockroach Labs' [Terms of Use](https://www.cockroachlabs.com/website-terms-of-use/) and [Privacy policy](https://www.cockroachlabs.com/privacy/)."
154+
data-modal-y-offset="18vh"
155+
data-modal-z-index="1000"
154156
></script>
155157

156158
<style>

0 commit comments

Comments
 (0)