Skip to content

Match the certificate preview to the enlarged print type - #309

Merged
vikrantwiz02 merged 1 commit into
FusionIIIT:acad-mainfrom
vikrantwiz02:acad-certificate-preview-type
Sep 2, 2026
Merged

vikrantwiz02 merged 1 commit into
FusionIIIT:acad-mainfrom
vikrantwiz02:acad-certificate-preview-type

Conversation

@vikrantwiz02

Copy link
Copy Markdown
Member

The preview stylesheet carries its own copy of the certificate's type scale, so the PDF moving up to 13.5pt would have left the screen showing something smaller than what actually prints.

Before After
Base type 11.5pt 13.5pt
Heading 13pt 15pt
Body line height 1.5 1.65
Header line height 1.4 1.55
Internship note 11.5pt 13.5pt

The numbers mirror the PDF side in FusionIIIT/Fusion#1979, so preview and print stay in step.

429 tests passing, prettier clean, production build clean.

The preview stylesheet carries its own copy of the certificate's type
scale, so the PDF moving to 13.5pt would have left the screen showing
something smaller than what prints. Base and note go to 13.5pt, the
heading to 15pt, and the line height is raised with them.
@vikrantwiz02
vikrantwiz02 merged commit c57c6ec into FusionIIIT:acad-main Sep 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant