@fragments-sdk/ui 0.6.4 → 0.6.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": "@fragments-sdk/ui",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Customizable UI components built on Base UI headless primitives",
5
5
  "type": "module",
6
6
  "main": "src/index.ts",
@@ -205,9 +205,10 @@
205
205
  height: calc(100vh - var(--appshell-header-height, 56px));
206
206
  height: calc(100dvh - var(--appshell-header-height, 56px));
207
207
  width: var(--aside-width, 280px);
208
+ min-height: 0; // Allow shrinking in grid
208
209
  z-index: 30;
209
210
  background-color: var(--fui-bg-primary, $fui-bg-primary);
210
- overflow-y: auto;
211
+ overflow: hidden;
211
212
 
212
213
  // Stack below main on mobile
213
214
  @include below-md {
@@ -23,7 +23,6 @@
23
23
  .user {
24
24
  flex-direction: row-reverse;
25
25
  margin-left: auto;
26
- max-width: 85%;
27
26
 
28
27
  .body {
29
28
  align-items: flex-end;
@@ -36,8 +35,6 @@
36
35
  }
37
36
 
38
37
  .assistant {
39
- max-width: 85%;
40
-
41
38
  .content {
42
39
  background-color: var(--fui-bg-secondary, $fui-bg-secondary);
43
40
  color: var(--fui-text-primary, $fui-text-primary);
@@ -129,7 +126,6 @@
129
126
  padding: var(--fui-space-2, $fui-space-2) var(--fui-space-3, $fui-space-3);
130
127
  border-radius: var(--fui-radius-lg, $fui-radius-lg);
131
128
  line-height: var(--fui-line-height-normal, $fui-line-height-normal);
132
- white-space: pre-wrap;
133
129
  word-wrap: break-word;
134
130
 
135
131
  // Prose styling for markdown content