reactablefmtr icon indicating copy to clipboard operation
reactablefmtr copied to clipboard

add_source: line-height

Open werkstattcodes opened this issue 2 years ago • 0 comments

I would like to change the vertical distance between two lines in a table's source, but the line-height seems not to work. Any idea? Many thanks!

library(reactable)
library(reactablefmtr)
library(tidyverse)

mtcars %>%
reactable() %>%
add_source(source=html("<span style='line-height:10%;'>This is a very long<br>long long text</span>"))

Created on 2023-04-12 with reprex v2.0.2

werkstattcodes avatar Apr 12 '23 12:04 werkstattcodes