html2canvas icon indicating copy to clipboard operation
html2canvas copied to clipboard

Text overlapping

Open mustafaalhajji opened this issue 1 year ago • 7 comments

Bug reports:

I had issue with text overlapping and font size

membership-card (13)

html look: image

Specifications:

  • html2canvas version tested with: 1.4.1
  • Browser & version: Google Chrome 129.0.6668.60
  • Operating system: Win 10

mustafaalhajji avatar Sep 30 '24 18:09 mustafaalhajji

Are you using tailwind CSS?

santigonzaga avatar Oct 02 '24 18:10 santigonzaga

Are you using tailwind CSS?

No, 100% standalone

mustafaalhajji avatar Oct 03 '24 19:10 mustafaalhajji

check this https://stackoverflow.com/questions/74980740/html2canvas-shifting-text-downwards

yehezkiell avatar Oct 21 '24 09:10 yehezkiell

I have this question too, and I also don't use tailwind,but I encountered this problem occasionally

zxybbxy avatar Dec 03 '24 01:12 zxybbxy

I'm using tailwing and this fixed text overlapping—yes text overlapping, not image overlapping—for me:

@layer base { img { display: unset !important; } }

Timothy-Achonu avatar Dec 23 '24 11:12 Timothy-Achonu

Got similar issue, should be fixed by this: https://github.com/niklasvh/html2canvas/issues/2775#issuecomment-1316356991

muhghazaliakbar avatar Dec 24 '24 09:12 muhghazaliakbar

I'm using tailwing and this fixed text overlapping—yes text overlapping, not image overlapping—for me:

@layer base { img { display: unset !important; } }

it works thank you so much!

MuhammadTayyab8 avatar May 29 '25 09:05 MuhammadTayyab8