diff --git a/src/current/_includes/feedback-widget.html b/src/current/_includes/feedback-widget.html
index 369ab75d696..c952160c6b7 100644
--- a/src/current/_includes/feedback-widget.html
+++ b/src/current/_includes/feedback-widget.html
@@ -546,6 +546,22 @@
Explore More Documentation:
margin-top: 4px;
line-height: 1.4;
}
+
+ /* Hide floating feedback button on mobile/tablet — accessible via sidebar instead */
+ @media (max-width: 991.98px) {
+ #sticky-rating-btn {
+ display: none;
+ }
+
+ /* When feedback overlay is opened via sidebar button on mobile, make it full-width */
+ #feedback-overlay {
+ bottom: 0;
+ right: 0;
+ left: 0;
+ width: 100%;
+ max-width: 100%;
+ }
+ }
diff --git a/src/current/_includes/head.html b/src/current/_includes/head.html
index 93e6f87570e..f18fb47fb82 100755
--- a/src/current/_includes/head.html
+++ b/src/current/_includes/head.html
@@ -156,7 +156,7 @@
data-modal-title="CockroachDB AI"
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/)."
data-modal-y-offset="12vh"
- data-modal-z-index="1000"
+ data-modal-z-index="9999"
data-mcp-enabled="true"
data-mcp-server-url="https://cockroachdb.mcp.kapa.ai"
data-search-mode-enabled="true"
@@ -186,4 +186,27 @@
max-height: calc(90vh); /* Maximum height utilization on small screens */
}
}
+
+ /* Make Kapa floating button smaller and icon-only on mobile/tablet */
+ @media (max-width: 991.98px) {
+ [id^="kapa-widget-container"] button {
+ width: 36px !important;
+ height: 36px !important;
+ min-width: 36px !important;
+ padding: 0 !important;
+ font-size: 0 !important;
+ bottom: 12px !important;
+ right: 8px !important;
+ }
+
+ [id^="kapa-widget-container"] button svg {
+ width: 18px !important;
+ height: 18px !important;
+ }
+
+ /* Hide button text, keep icon */
+ [id^="kapa-widget-container"] button span {
+ display: none !important;
+ }
+ }
diff --git a/src/current/_layouts/default.html b/src/current/_layouts/default.html
index 997daac6a67..28dcedda3cf 100755
--- a/src/current/_layouts/default.html
+++ b/src/current/_layouts/default.html
@@ -27,6 +27,39 @@
{%- assign sidebar_class = "nav--search " -%}
{%- endif -%}
{% include_cached sidebar.html sidebar_class=sidebar_class %}
+
+
+
{% if page.toc == true %}
{% if page.homepage != true %}