haozhu233 / kableExtra

Construct Complex Table with knitr::kable() + pipe.
https://haozhu233.github.io/kableExtra/
Other
688 stars 147 forks source link

change row height #599

Closed ManuelSpinola closed 9 months ago

ManuelSpinola commented 3 years ago

How can I change the row height?

haozhu233 commented 3 years ago

css

ManuelSpinola commented 3 years ago

Thank you very much.

Manuel

On Thu, 25 Mar 2021 at 20:29 Hao Zhu @.***> wrote:

css

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/haozhu233/kableExtra/issues/599#issuecomment-807888752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFI3FBYNO6KYXJ6VPERC63TTFPWR3ANCNFSM4Z2RAEOA .

-- Manuel Spínola, Ph.D. Instituto Internacional en Conservación y Manejo de Vida Silvestre Universidad Nacional Apartado 1350-3000 Heredia COSTA RICA @. @.> @.*** Teléfono: (506) 8706 - 4662 Personal website: Lobito de río https://sites.google.com/site/lobitoderio/ Institutional website: ICOMVIS http://www.icomvis.una.ac.cr/

mtennekes commented 2 years ago

Thanks for this great package!

Same question: the extra_css argument of row_spec is not for the whole row, which I would have expected. Where can row-specific css code be passed?

haozhu233 commented 2 years ago

@mtennekes yeah, it's for every cell on that row, which is often more effective. If you want to add attr to certain rows, check out the following guide.

https://haozhu233.github.io/kableExtra/kableExtra_and_xml2.html

https://haozhu233.github.io/kableExtra/kableExtra_and_xml2.Rmd

mtennekes commented 2 years ago

Thanks

vincentarelbundock commented 9 months ago

Closing because an adequate solution was proposed and accepted.