slot-text 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/style.css +5 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slot-text",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Dependency-free text roll animation for tiny, tactile UI labels.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/style.css CHANGED
@@ -6,6 +6,11 @@
6
6
  .char-slot {
7
7
  position: relative;
8
8
  display: inline-flex;
9
+ /* Cells must never flex-shrink. When a cell's overflow stops being visible
10
+ (e.g. .is-resizing), its automatic minimum size drops to 0, and a
11
+ width-constrained line would crush those cells into overlapping slivers
12
+ instead of letting the row overflow like it does at rest. */
13
+ flex: none;
9
14
  justify-content: center;
10
15
  /* Clip only vertically: the roll needs a top/bottom mask, but glyph side
11
16
  bearings, kerning overhang and the settle tilt must stay visible so