You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2026/09/18 18:02:21 UTC

(hugegraph-doc) branch feat/oink-bc-review-fixes updated: fix(search): surface Ask AI tail

This is an automated email from the ASF dual-hosted git repository.

imbajin pushed a commit to branch feat/oink-bc-review-fixes
in repository https://gitbox.apache.org/repos/asf/hugegraph-doc.git


The following commit(s) were added to refs/heads/feat/oink-bc-review-fixes by this push:
     new b983f2bed fix(search): surface Ask AI tail
b983f2bed is described below

commit b983f2bed5d17d0f421917c0458d6b4d336d10fd
Author: dark <ji...@apache.org>
AuthorDate: Sat Sep 19 02:02:08 2026 +0800

    fix(search): surface Ask AI tail
    
    - increase the site-owned search panel height\n- keep the Ask AI tail visible during list scrolling\n- leave the OINK theme source unchanged
---
 assets/scss/_styles_project.scss | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss
index 2cf610cfd..88f817c62 100644
--- a/assets/scss/_styles_project.scss
+++ b/assets/scss/_styles_project.scss
@@ -537,6 +537,13 @@
 }
 
 .hg-ai-search-tail {
+  position: sticky;
+  bottom: 0;
+  z-index: 1;
+  margin-inline: -6px;
+  padding-inline: 6px;
+  background: var(--td-shell-popover);
+  box-shadow: 0 -8px 16px color-mix(in srgb, var(--td-shell-popover) 88%, transparent);
   border-block-start: 1px solid var(--bs-border-color);
 
   &__button {
@@ -554,6 +561,17 @@
   }
 }
 
+/* Keep the optional Ask AI tail discoverable without changing the OINK theme. */
+.td-shell-search__panel {
+  max-height: unquote('min(84vh, 720px)');
+}
+
+@media (max-width: 767.98px) {
+  .td-shell-search__panel {
+    max-height: unquote('min(86vh, 680px)');
+  }
+}
+
 .hg-ask-ai-launcher {
   position: fixed;
   z-index: 1040;