Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

202
Views
la fuente y el relleno de la tabla no se aplican en la vista previa de impresión

en mi código Vue js a continuación, agregué el método de impresión y funciona bien ... pero quería eliminar el relleno de td y td en la tabla, pero no se está aplicando. Además, quería agregar una fuente pero no está tomando demasiado. alguien me puede ayudar en esto por favor? gracias de antemano

 export default { name: 'light-table', components: { loader }, data() { return { globalOptions: { name: '_blank', specs: [ 'fullscreen=no', 'scrollbars=yes' ], styles: [ 'https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css', 'https://unpkg.com/kidlat-css/css/kidlat.css', 'https://fonts.googleapis.com/css2?family=Almarai&display=swap' //this font links ], } }, methods: { //function call the print print() { this.$htmlToPaper('printMe', this.globalOptions); },}
 .table-bordered thead th{ vertical-align: bottom; padding: 0px !important; border-bottom: 2px solid #dee2e6; } //not applying thr padding
 <div id="printMe" class="row" style="padding: 15px; font-family: 'Cairo', sans-serif !important;"> //font style not showing <table class="table table-bordered"> <thead> <tr class="tr-class"> <th>direction</th> </tr> </thead> <tbody> <tr> <td>{{Flats.directions}}</td> </tr> </tbody> </table> </div>

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!