From b999e888852b584b972a15a7d469a6ea33253197 Mon Sep 17 00:00:00 2001 From: Andrew Heiss Date: Mon, 25 Sep 2023 14:26:01 -0400 Subject: [PATCH] Create a temporary no-stripe class for gt tables bc of https://github.com/quarto-dev/quarto-cli/issues/6945 --- html/custom.scss | 6 ++++++ notebook/model-details.qmd | 2 ++ 2 files changed, 8 insertions(+) diff --git a/html/custom.scss b/html/custom.scss index 8591d36..699dd70 100644 --- a/html/custom.scss +++ b/html/custom.scss @@ -83,6 +83,12 @@ pre.sourceCode { .table { box-shadow: none; } + +// Create a temporary no-stripe class for gt tables +.no-stripe .gt_table tr.odd { + --bs-table-striped-bg: transparent; +} + // Footer stuff .nav-footer-left { text-align: left; diff --git a/notebook/model-details.qmd b/notebook/model-details.qmd index a0e4468..1dd26ad 100644 --- a/notebook/model-details.qmd +++ b/notebook/model-details.qmd @@ -167,6 +167,7 @@ We ran these models on a 2021 M1 MacBook Pro with 32 GB of RAM, with 4 MCMC chai In total, it took `r total_run_time` to run everything. ```{r mcmc-duration-table} +#| classes: no-stripe models |> gt() |> tab_footnote( @@ -196,6 +197,7 @@ models |> Raw coefficients aren't super useful for interpreting things, but here's a table of them for fun. ```{r results-table} +#| classes: no-stripe modelsummary( m_full_ordbeta, statistic = "[{conf.low}, {conf.high}]",