forked from trent_larson/crowd-funder-for-time-pwa
add another sample boundary frame for the certificate view of a claim
This commit is contained in:
BIN
public/img/background/cert-frame-1.jpg
Normal file
BIN
public/img/background/cert-frame-1.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 270 KiB |
@@ -139,7 +139,7 @@ export default class ClaimViewCertificate extends Vue {
|
|||||||
if (descriptionText) {
|
if (descriptionText) {
|
||||||
const descriptionLine =
|
const descriptionLine =
|
||||||
descriptionText.length > 50
|
descriptionText.length > 50
|
||||||
? descriptionText.substring(0, 85) + "..."
|
? descriptionText.substring(0, 75) + "..."
|
||||||
: descriptionText;
|
: descriptionText;
|
||||||
ctx.font = "14px Arial";
|
ctx.font = "14px Arial";
|
||||||
const descriptionWidth = ctx.measureText(descriptionLine).width;
|
const descriptionWidth = ctx.measureText(descriptionLine).width;
|
||||||
|
|||||||
Reference in New Issue
Block a user