@bitbaum/chatkit 0.21.4 → 0.21.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitbaum/chatkit",
3
- "version": "0.21.4",
3
+ "version": "0.21.5",
4
4
  "description": "One chat for every product: a composer with a microphone that always works, a thread that does not fight the reader, messages with copy and retry, and LLM markdown — the fleet's chat standard as a package.",
5
5
  "license": "MIT",
6
6
  "author": "Cato",
package/styles/chat.css CHANGED
@@ -1276,7 +1276,13 @@ a.ck-cite:hover {
1276
1276
  .ck-sheet {
1277
1277
  width: 100%;
1278
1278
  max-width: 32rem;
1279
- max-height: none;
1279
+ /* The sheet never outgrows the screen: a panel taller than the viewport
1280
+ (OrangeCat's New bot, a shelf over a form, 2026-10-31) scrolls inside
1281
+ its frame with its head in view, instead of its top being cut off above
1282
+ the viewport. The native cap is overridden on purpose, so the cap is
1283
+ set here. */
1284
+ max-height: 100vh;
1285
+ max-height: 100dvh;
1280
1286
  margin: auto auto 0;
1281
1287
  padding: 0;
1282
1288
  border: 0;
@@ -1291,6 +1297,11 @@ a.ck-cite:hover {
1291
1297
  animation: ck-rise 0.18s ease-out;
1292
1298
  }
1293
1299
  .ck-sheet-panel {
1300
+ box-sizing: border-box;
1301
+ max-height: 100vh;
1302
+ max-height: 100dvh;
1303
+ overflow-y: auto;
1304
+ overscroll-behavior: contain;
1294
1305
  padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
1295
1306
  border: 1px solid var(--ck-line);
1296
1307
  border-bottom: 0;
package/styles.css CHANGED
@@ -1276,7 +1276,13 @@ a.ck-cite:hover {
1276
1276
  .ck-sheet {
1277
1277
  width: 100%;
1278
1278
  max-width: 32rem;
1279
- max-height: none;
1279
+ /* The sheet never outgrows the screen: a panel taller than the viewport
1280
+ (OrangeCat's New bot, a shelf over a form, 2026-10-31) scrolls inside
1281
+ its frame with its head in view, instead of its top being cut off above
1282
+ the viewport. The native cap is overridden on purpose, so the cap is
1283
+ set here. */
1284
+ max-height: 100vh;
1285
+ max-height: 100dvh;
1280
1286
  margin: auto auto 0;
1281
1287
  padding: 0;
1282
1288
  border: 0;
@@ -1291,6 +1297,11 @@ a.ck-cite:hover {
1291
1297
  animation: ck-rise 0.18s ease-out;
1292
1298
  }
1293
1299
  .ck-sheet-panel {
1300
+ box-sizing: border-box;
1301
+ max-height: 100vh;
1302
+ max-height: 100dvh;
1303
+ overflow-y: auto;
1304
+ overscroll-behavior: contain;
1294
1305
  padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
1295
1306
  border: 1px solid var(--ck-line);
1296
1307
  border-bottom: 0;