@sensiblestats/widget-react 0.26.0 → 0.26.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.
- package/CHANGELOG.md +12 -0
- package/dist/index.cjs +26 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +26 -5
- package/dist/index.js.map +1 -1
- package/dist/styles.css +5 -1
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -57,7 +57,11 @@
|
|
|
57
57
|
.ss-w-close { margin-left: auto; background: none; border: none; color: var(--ss-w-faint); cursor: pointer; font-size: 16px; display: grid; place-items: center; }
|
|
58
58
|
|
|
59
59
|
/* messages */
|
|
60
|
-
.ss-w-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
|
|
60
|
+
.ss-w-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; scroll-padding-top: 14px; }
|
|
61
|
+
/* Transient bottom spacer: reserves a viewport of room below a new turn so its
|
|
62
|
+
top can be scrolled into view while the reply is still streaming in. Height is
|
|
63
|
+
set imperatively and flex must not shrink it away. */
|
|
64
|
+
.ss-w-turn-spacer { flex: none; }
|
|
61
65
|
.ss-w-msg { display: flex; }
|
|
62
66
|
.ss-w-user { justify-content: flex-end; }
|
|
63
67
|
.ss-w-user .ss-w-bubble { background: color-mix(in srgb, var(--ss-w-accent) 14%, var(--ss-w-panel)); border: 1px solid color-mix(in srgb, var(--ss-w-accent) 30%, var(--ss-w-line)); border-radius: 14px; padding: 8px 12px; max-width: 80%; }
|