sturman / git-diff-email

Send git diff in email with Github Actions
1 stars 0 forks source link

[question] change body font for the diff diff2html.sh #1

Open hrv-cta opened 8 months ago

hrv-cta commented 8 months ago

Hello, I tried to change the font by playing with the different numbers that have the px in the diff2html.sh file, and I don't see any change.

Can you please let me know where exactly I can change the size and font for the diff body?

Thanks.

sturman commented 8 months ago

Hello, I tried to change the font by playing with the different numbers that have the px in the diff2html.sh file, and I don't see any change.

Can you please let me know where exactly I can change the size and font for the diff body?

Thanks.

Hi,

I believe the font for body can be changed in this line https://github.com/sturman/git-diff-email/blob/master/.github/diff2html.sh#L9. You need to change head > style > pre > font-family (or font-size)