@haikit/client 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/hai.css +5 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haikit/client",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "The haikit browser runtime: streams tool payloads into interactive UI surfaces. Plain ESM, no build step, no dependencies.",
5
5
  "keywords": [
6
6
  "haikit",
package/src/hai.css CHANGED
@@ -181,8 +181,11 @@
181
181
  }
182
182
  .hai-icon-btn:hover { background: var(--hai-hover); color: var(--hai-fg); }
183
183
 
184
- /* clips the drawer while it waits off the right edge */
185
- .hai-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; position: relative; overflow: hidden; }
184
+ /* Clips the drawer while it waits off the right edge. `clip`, not just
185
+ `hidden`: a hidden box still scrolls, so bringing anything into view
186
+ centred, as find in page does, slid the whole chat sideways and left it
187
+ there. `hidden` stays for browsers without `clip`. */
188
+ .hai-main { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; position: relative; overflow: hidden; overflow: clip; }
186
189
 
187
190
  /* the conversation is a centred column; the scrollbar stays at the edge */
188
191
  .hai-chat {