@mx-cartographer/insights-ui 1.16.11 → 1.16.12-alpha.JB0
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.es.js +3 -1
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1204,7 +1204,7 @@ const de = (t) => {
|
|
|
1204
1204
|
if (h) {
|
|
1205
1205
|
const E = Array.from(h.children).reduce((v, f) => f !== c ? v + f.clientHeight : v, 0), k = h.clientHeight - E, x = parseInt(
|
|
1206
1206
|
window.getComputedStyle(c).lineHeight,
|
|
1207
|
-
|
|
1207
|
+
16
|
|
1208
1208
|
), J = Math.floor(k / x);
|
|
1209
1209
|
J !== l && s(J);
|
|
1210
1210
|
}
|
|
@@ -1235,6 +1235,8 @@ const de = (t) => {
|
|
|
1235
1235
|
textOverflow: "ellipsis",
|
|
1236
1236
|
WebkitBoxOrient: "vertical",
|
|
1237
1237
|
WebkitLineClamp: l,
|
|
1238
|
+
maxHeight: l * 16 + 24,
|
|
1239
|
+
// 16px per line + 16px top + 8px bottom padding
|
|
1238
1240
|
...n
|
|
1239
1241
|
}
|
|
1240
1242
|
}
|