@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.js
CHANGED
|
@@ -2070,8 +2070,15 @@ function PoliticianCard({
|
|
|
2070
2070
|
overflow: "hidden",
|
|
2071
2071
|
textOverflow: "ellipsis",
|
|
2072
2072
|
display: "-webkit-box",
|
|
2073
|
-
|
|
2074
|
-
|
|
2073
|
+
// Wrap to 3 lines so a qualified title with a trailing parenthetical
|
|
2074
|
+
// (e.g. "Clark County Commissioner (District A)") drops the parenthetical
|
|
2075
|
+
// to its own line instead of truncating ("…(Distric…") — important when the
|
|
2076
|
+
// compass overlay narrows the content column. 3 short lines still fit within
|
|
2077
|
+
// the image-driven card height, so the tile does not grow.
|
|
2078
|
+
WebkitLineClamp: 3,
|
|
2079
|
+
WebkitBoxOrient: "vertical",
|
|
2080
|
+
// Let a long unbroken segment wrap rather than overflow under the compass.
|
|
2081
|
+
overflowWrap: "anywhere"
|
|
2075
2082
|
},
|
|
2076
2083
|
subtitle: {
|
|
2077
2084
|
fontFamily: fonts.primary,
|