forked from jsnbuchanan/crowd-funder-for-time-pwa
add another sample boundary frame for the certificate view of a claim
This commit is contained in:
@@ -139,7 +139,7 @@ export default class ClaimViewCertificate extends Vue {
|
||||
if (descriptionText) {
|
||||
const descriptionLine =
|
||||
descriptionText.length > 50
|
||||
? descriptionText.substring(0, 85) + "..."
|
||||
? descriptionText.substring(0, 75) + "..."
|
||||
: descriptionText;
|
||||
ctx.font = "14px Arial";
|
||||
const descriptionWidth = ctx.measureText(descriptionLine).width;
|
||||
|
||||
Reference in New Issue
Block a user