@ruckc/truss-code 1.23.1 → 1.25.0

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.
@@ -216,7 +216,7 @@
216
216
  {/snippet}
217
217
 
218
218
  <style>
219
- .df { border: 1px solid var(--tr-outline-variant); border-radius: var(--tr-radius-md); background: var(--tr-surface); overflow: hidden; }
219
+ .df { border: 1px solid var(--tr-outline-variant); border-radius: var(--tr-radius-md); background: var(--tr-surface); overflow: hidden; flex-shrink: 0; }
220
220
  .top { display: flex; align-items: center; gap: var(--tr-space-3); padding: var(--tr-space-2) var(--tr-space-3); background: var(--tr-surface-container-low); border-bottom: 1px solid var(--tr-outline-variant); font-size: var(--tr-text-sm); }
221
221
  .grow { flex: 1; }
222
222
  .sum, .stats { display: inline-flex; gap: var(--tr-space-2); align-items: baseline; }
@@ -739,7 +739,7 @@
739
739
  --del: var(--code-removed, color-mix(in srgb, var(--tr-danger) 14%, var(--tr-surface))); --del-strong: var(--code-removed-strong, color-mix(in srgb, var(--tr-danger) 34%, var(--tr-surface)));
740
740
  --mv: var(--code-moved, color-mix(in srgb, var(--tr-primary) 14%, var(--tr-surface)));
741
741
  --sel: color-mix(in srgb, var(--tr-primary) 22%, transparent);
742
- border: 1px solid var(--tr-outline-variant); border-radius: var(--tr-radius-md); background: var(--code-bg, var(--tr-surface)); color: var(--code-fg, var(--tr-on-surface)); overflow: hidden;
742
+ border: 1px solid var(--tr-outline-variant); border-radius: var(--tr-radius-md); background: var(--code-bg, var(--tr-surface)); color: var(--code-fg, var(--tr-on-surface)); overflow: hidden; flex-shrink: 0; /* never squeezed (and so clipped) inside a scrolling flex column */
743
743
  }
744
744
  .dv:focus-visible { outline: none; border-color: var(--tr-primary); box-shadow: var(--tr-focus-ring); }
745
745
  .bar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--tr-gap); padding: var(--tr-space-1) var(--tr-space-2); border-bottom: 1px solid var(--tr-outline-variant); background: var(--tr-surface-container-low); font-size: var(--tr-text-sm); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruckc/truss-code",
3
- "version": "1.23.1",
3
+ "version": "1.25.0",
4
4
  "description": "Read-only code blocks, diff and merge views, plus an optional Monaco code editor, styled with Truss UI",
5
5
  "type": "module",
6
6
  "license": "MIT",