Browse Source

add another sample boundary frame for the certificate view of a claim

split_build_process
Trent Larson 1 month ago
parent
commit
959f5f6f63
  1. BIN
      public/img/background/cert-frame-1.jpg
  2. 2
      src/views/ClaimCertificateView.vue

BIN
public/img/background/cert-frame-1.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 KiB

2
src/views/ClaimCertificateView.vue

@ -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;

Loading…
Cancel
Save