carbon-app / carbon

:black_heart: Create and share beautiful images of your source code
https://carbon.now.sh
MIT License
34.29k stars 1.9k forks source link

Incorrect final line padding #1481

Open ekohilas opened 12 months ago

ekohilas commented 12 months ago

Describe the bug The padding after the final line for font sizes larger than 18px is too small.

To Reproduce Steps to reproduce the behavior:

  1. Start a fresh browser session of Carbon
  2. Export the config settings
  3. Update the font size setting from 18px to something larger, like 24px
  4. Import the config settings
  5. Duplicate the tab
  6. See error

Expected behavior The code should look the same after duplicating the tab.

Screenshots Original image

Duplicated image

Info (please complete the following information):