question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

html: add width option

See original GitHub issue

Currently, there is no easy way to specify the desired width of the html in the PDF. The width can only be specified indirectly over html2canvasscale option (similar to #2917). It would be very convenient, if we could simply supply a width (in PDF units) to the html method. This option should basically function like the width of a browser window (which means, it should not scale the content).

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:16 (2 by maintainers)

github_iconTop GitHub Comments

5reactions
richard-lopes-ifoodcommented, Jan 11, 2021

Updates?

2reactions
HackbrettXXXcommented, Oct 7, 2020

@KamranMaqbool ask the two assignees 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML width Attribute - W3Schools
The width attribute specifies the width of the element, in pixels. Note: For input elements, the width attribute is used only with <input...
Read more >
How can I set the width of select box options? - Stack Overflow
In the picture, the width of option is larger than the select box. I want to set width of those options as same...
Read more >
How To Set Width Of Select Option In HTML - TalkersCode.com
In this tutorial we will show the solution of how to set width of select option in HTML, in HTML there is a...
Read more >
width - CSS: Cascading Style Sheets - MDN Web Docs
The width CSS property sets an element's width. By default, it sets the width of the content area, but if box-sizing is set...
Read more >
Controlling the width of SELECT lists - BlooBerry
The default width of a SELECT form control is usually dependent on the width of the widest OPTION item in the list; the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found