-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loosing styles when printing... #21
Comments
I was not able to recreate the issue, can you help me to recreate it? |
Thank you @toshiye can you show us your code? Based on your description, I think you forgot to setup the css options. |
Hi all, thanks for replying and sorry for the delay, let me try to explain: This is the div that i want to print in vue: ` {{ maquinaRel.maquina }} de {{ maquinaRel.dataInicial }} a {{ maquinaRel.dataFinal }}
This is my printing button:
This is my method:
As you can see, my table is bordered and striped but when i click on the print button, the page opens, looses all of these configurations. Any help will be great. Thanks again for a great job and for this great plugin. |
Good Day, Thank you very much for the great plugin, I am also having the same issue where I am loosing styles when printing. I have noticed that user agent stylesheet overrides my css. One way of fixing this is to add the <!doctype html> tag to the print file this will ensure that the user agent stylesheet does not override the css. May you please advise how I can add this tag. |
Hello may I see your styles? According to the documentation, you should wrap the styles inside @media print {} block. |
Hi all,
Thanks for this amazing plugin, is great...
I'm very new in programming, even more in Vue, i'm developing one application using Laravel, VueJS with BootStrapVue and your plugin, when i print one b-table, i lost all the styles of that table (borders, colors, etc)...
Is that a way for me to work around this?
Thanks again for the app.
The text was updated successfully, but these errors were encountered: