@sensiblestats/widget-react 0.136.0 → 0.136.1

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/dist/styles.css CHANGED
@@ -594,7 +594,9 @@
594
594
  .ss-w-mo-stat { font-size: 12px; color: var(--ss-w-ink); background: color-mix(in srgb, var(--ss-w-accent) 9%, var(--ss-w-panel)); border-radius: 8px; padding: 7px 9px; }
595
595
  .ss-w-mo-row { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--ss-w-line); }
596
596
  .ss-w-mo-row:last-child { border-bottom: none; }
597
- .ss-w-mo-sel { font-size: 12.5px; font-weight: 600; color: var(--ss-w-ink); flex: 1; min-width: 0; }
597
+ /* min-content, not 0: a long slip label (it-IT "Aggiungi alla schedina") otherwise squeezes the
598
+ label narrower than one word and the name runs into the price. The slip button wraps instead. */
599
+ .ss-w-mo-sel { font-size: 12.5px; font-weight: 600; color: var(--ss-w-ink); flex: 1; min-width: min-content; }
598
600
  .ss-w-mo-price { margin-left: auto; font-family: ui-monospace, monospace; font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 700; color: var(--ss-w-accent); }
599
601
  /* Movement: BOTH directions share --ss-w-faint on purpose. Green-good/red-bad would frame a
600
602
  shortening price as a discount, which inverts what it actually means for the bettor. */
@@ -605,7 +607,8 @@
605
607
  a flex row, and must NOT follow the badge into the insight card's odds column. */
606
608
  .ss-w-mo-row .ss-w-move { margin-left: auto; }
607
609
  .ss-w-mo-row .ss-w-move + .ss-w-mo-price { margin-left: 0; }
608
- .ss-w-mo-row .ss-w-slip { margin: 0; flex: none; }
610
+ .ss-w-mo-row .ss-w-slip { margin: 0; flex: 0 1 auto; min-width: 0; }
611
+ .ss-w-mo-row .ss-w-slip-btn { white-space: normal; text-align: center; }
609
612
  .ss-w-mo-foot { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--ss-w-faint); }
610
613
  .ss-w-allmk-wrap { position: relative; display: inline-flex; flex: none; margin-left: auto; }
611
614
  .ss-w-allmk-wrap--chip { margin-left: 0; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-react",
3
- "version": "0.136.0",
3
+ "version": "0.136.1",
4
4
  "description": "Embeddable SensibleStats chat widget for React.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",