Skip to content

opt_interactive() removes styling #1307

@rwaaijman

Description

@rwaaijman

Great new option, however some styling disappears.

when running

table <- gtcars[1:10,] |>
  gt() |>
  data_color("mfr",colors = "lightgray") |> 
  cols_hide(columns = trim) |>
  opt_table_lines(extent = c("none")) |> 
  tab_options(table.font.size = px(12), table.align = "left")
table

this is the output
without interactive

but when ading opt_interactive() some styling disappears, like fontsize and lines:

table |> 
  opt_interactive()

with interactive

Is this a bug, or do I something wrong

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions