threat-dragon icon indicating copy to clipboard operation
threat-dragon copied to clipboard

Diagrams get cut off in PDF

Open ch-lepp opened this issue 10 months ago • 3 comments

Describe the bug: Some diagrams get cut off when printed into PDF.

Expected behaviour: The full diagram should be shown in the PDF

Environment:

  • Version: 2.3.0
  • Platform: Docker Container
  • Browser: firefox, chrome

Any additional context, screenshots, etc:

Image

Image

ch-lepp avatar Feb 12 '25 09:02 ch-lepp

agreed @ch-lepp , this is a problem for all the diagram rendering: issues #1141 and #1041 can you see how to fix it? is a large problem for many diagrams

jgadsden avatar Feb 12 '25 11:02 jgadsden

Ah, sry. I swear I searched for related issues before posting, but apparently I didn't do it very properly...

can you see how to fix it? is a large problem for many diagrams

What I found is that you added the bootstrap-theme.css on Feb. 29th 2024 and that this file contains a lot of @media print. But I haven't found an exact code snippet, where that might cause the current issue...

ch-lepp avatar Feb 12 '25 12:02 ch-lepp

Can i work on this bug ? Please assign it to me if possible !

AryanSwaroop avatar Feb 13 '25 16:02 AryanSwaroop