You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Tailwind CSS with the configuration important: "#body", components styled with Tailwind utilities fail to render correctly in PDFs generated using the react-to-print library. This issue arises because the dynamically created iframe used for printing does not include an element with the id="body".
module.exports={important: '#body',// other configurations};
The text was updated successfully, but these errors were encountered:
When using Tailwind CSS with the configuration
important: "#body"
, components styled with Tailwind utilities fail to render correctly in PDFs generated using the react-to-print library. This issue arises because the dynamically created iframe used for printing does not include an element with the id="body".The text was updated successfully, but these errors were encountered: