@empoweredvote/ev-ui 0.9.6 → 0.9.7
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 +9 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1975,8 +1975,15 @@ function PoliticianCard({
|
|
|
1975
1975
|
overflow: "hidden",
|
|
1976
1976
|
textOverflow: "ellipsis",
|
|
1977
1977
|
display: "-webkit-box",
|
|
1978
|
-
|
|
1979
|
-
|
|
1978
|
+
// Wrap to 3 lines so a qualified title with a trailing parenthetical
|
|
1979
|
+
// (e.g. "Clark County Commissioner (District A)") drops the parenthetical
|
|
1980
|
+
// to its own line instead of truncating ("…(Distric…") — important when the
|
|
1981
|
+
// compass overlay narrows the content column. 3 short lines still fit within
|
|
1982
|
+
// the image-driven card height, so the tile does not grow.
|
|
1983
|
+
WebkitLineClamp: 3,
|
|
1984
|
+
WebkitBoxOrient: "vertical",
|
|
1985
|
+
// Let a long unbroken segment wrap rather than overflow under the compass.
|
|
1986
|
+
overflowWrap: "anywhere"
|
|
1980
1987
|
},
|
|
1981
1988
|
subtitle: {
|
|
1982
1989
|
fontFamily: fonts.primary,
|