@sensiblestats/widget-react 0.47.2 → 0.48.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
@@ -842,7 +842,7 @@
842
842
  .ss-w-grp-count { margin-left: auto; flex: none; font-size: 10.5px; font-weight: 700; color: var(--ss-w-faint); background: var(--ss-w-panel); border: 1px solid var(--ss-w-line); border-radius: 999px; padding: 1px 7px; font-variant-numeric: tabular-nums; }
843
843
  .ss-w-grp-body { display: flex; flex-direction: column; padding: 2px 11px 6px; }
844
844
 
845
- .ss-w-drow { display: grid; grid-template-columns: 42px minmax(0,1fr) auto 22px; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--ss-w-line); }
845
+ .ss-w-drow { display: grid; grid-template-columns: 42px minmax(0,1fr) 22px; align-items: center; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--ss-w-line); }
846
846
  .ss-w-drow:last-child { border-bottom: none; }
847
847
  .ss-w-drow-when { font-size: 11px; font-weight: 700; color: var(--ss-w-faint); font-variant-numeric: tabular-nums; }
848
848
  .ss-w-drow-when--live { color: var(--ss-w-neg); }
@@ -851,8 +851,11 @@
851
851
  .ss-w-drow-fx { display: flex; align-items: center; gap: 6px; min-width: 0; }
852
852
  .ss-w-drow-side { display: flex; align-items: center; gap: 5px; min-width: 0; flex: 1 1 0; }
853
853
  .ss-w-drow-nm { font-size: 12.5px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
854
- .ss-w-drow-dash { flex: none; color: var(--ss-w-faint); font-size: 11px; }
855
- .ss-w-drow-sc { font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ss-w-ink); }
854
+ /* Centre slot of .ss-w-drow-fx, between the two sides: flex:none so a widening score never
855
+ steals width the team names need to avoid ellipsis. min-width holds the slot at the width of a
856
+ one-digit scoreline so an unscored row's bare dash does not pull the column out of line -- the
857
+ scores read as a column down the list, not a jitter. */
858
+ .ss-w-drow-sc { flex: none; min-width: 26px; text-align: center; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ss-w-ink); }
856
859
  .ss-w-drow-sc--idle { color: var(--ss-w-faint); font-weight: 600; }
857
860
  .ss-w-drow--live { background: color-mix(in srgb, var(--ss-w-neg) 5%, transparent); border-radius: 8px; padding: 7px 6px; margin: 0 -6px; border-bottom: none; }
858
861
  .ss-w-drow-crest { width: 16px; height: 16px; flex: none; border-radius: 50%; object-fit: contain; background: var(--ss-w-bubble); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sensiblestats/widget-react",
3
- "version": "0.47.2",
3
+ "version": "0.48.1",
4
4
  "description": "Embeddable SensibleStats chat widget for React.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",