anentrypoint-design 1.0.17 → 1.0.18
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/247420.css +10 -5
- package/dist/247420.js +17 -17
- package/package.json +1 -1
package/dist/247420.css
CHANGED
|
@@ -12241,11 +12241,16 @@
|
|
|
12241
12241
|
row), but a shorter number's smaller total width shifts its LEFT
|
|
12242
12242
|
edge inward -- so the "stars" label drifts left/right per row even
|
|
12243
12243
|
though nothing is actually misaligned at the anchor point. A fixed
|
|
12244
|
-
min-width + right-align + tabular-nums turns that into a real
|
|
12245
|
-
column: every tag reserves the
|
|
12246
|
-
|
|
12247
|
-
|
|
12248
|
-
|
|
12244
|
+
(not min-) width + right-align + tabular-nums turns that into a real
|
|
12245
|
+
column: every tag reserves the SAME width regardless of its own text
|
|
12246
|
+
length (min-width alone still let longer strings grow past the
|
|
12247
|
+
floor, re-introducing drift for e.g. 5-digit vs 4-digit counts) --
|
|
12248
|
+
13ch covers "184,966 stars" (the realistic 6-digit-star ceiling for
|
|
12249
|
+
this dataset) with headroom; a longer string still wins over a hard
|
|
12250
|
+
clip via ch-based overflow rather than truncating the count itself. */
|
|
12251
|
+
width: 13ch;
|
|
12252
|
+
overflow: hidden;
|
|
12253
|
+
white-space: nowrap;
|
|
12249
12254
|
text-align: right;
|
|
12250
12255
|
font-variant-numeric: tabular-nums;
|
|
12251
12256
|
}
|