@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/index.js CHANGED
@@ -1298,7 +1298,7 @@ function parseOddsFormat(value) {
1298
1298
  }
1299
1299
 
1300
1300
  // src/version.generated.ts
1301
- var WIDGET_REACT_VERSION = "0.136.0";
1301
+ var WIDGET_REACT_VERSION = "0.136.1";
1302
1302
 
1303
1303
  // src/config.ts
1304
1304
  function hostTag(cfg) {
@@ -18746,7 +18746,9 @@ var WIDGET_CSS = `.ss-w-root { all: revert; }
18746
18746
  .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; }
18747
18747
  .ss-w-mo-row { display: flex; align-items: center; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--ss-w-line); }
18748
18748
  .ss-w-mo-row:last-child { border-bottom: none; }
18749
- .ss-w-mo-sel { font-size: 12.5px; font-weight: 600; color: var(--ss-w-ink); flex: 1; min-width: 0; }
18749
+ /* min-content, not 0: a long slip label (it-IT "Aggiungi alla schedina") otherwise squeezes the
18750
+ label narrower than one word and the name runs into the price. The slip button wraps instead. */
18751
+ .ss-w-mo-sel { font-size: 12.5px; font-weight: 600; color: var(--ss-w-ink); flex: 1; min-width: min-content; }
18750
18752
  .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); }
18751
18753
  /* Movement: BOTH directions share --ss-w-faint on purpose. Green-good/red-bad would frame a
18752
18754
  shortening price as a discount, which inverts what it actually means for the bettor. */
@@ -18757,7 +18759,8 @@ var WIDGET_CSS = `.ss-w-root { all: revert; }
18757
18759
  a flex row, and must NOT follow the badge into the insight card's odds column. */
18758
18760
  .ss-w-mo-row .ss-w-move { margin-left: auto; }
18759
18761
  .ss-w-mo-row .ss-w-move + .ss-w-mo-price { margin-left: 0; }
18760
- .ss-w-mo-row .ss-w-slip { margin: 0; flex: none; }
18762
+ .ss-w-mo-row .ss-w-slip { margin: 0; flex: 0 1 auto; min-width: 0; }
18763
+ .ss-w-mo-row .ss-w-slip-btn { white-space: normal; text-align: center; }
18761
18764
  .ss-w-mo-foot { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--ss-w-faint); }
18762
18765
  .ss-w-allmk-wrap { position: relative; display: inline-flex; flex: none; margin-left: auto; }
18763
18766
  .ss-w-allmk-wrap--chip { margin-left: 0; }