### Bug description

I don't know whether it's a bug or expected behavior, given [@cscheid's comment](https://github.com/quarto-dev/quarto-cli/discussions/3253#discussioncomment-4128818) about rendering tables in Quarto being a work-in-progress. Anyhow, it's currently a limitation of Quarto.

`.qmd` file:

<pre>
---
title: "Table output of SQL code exceeds right border when code chunk is inside a tabset panel"
---

```{r}
library(DBI)
library(duckdb)
library(nycflights13)
```

```{r}
con <- DBI::dbConnect(duckdb::duckdb(), dbdir = ":memory:")
dbWriteTable(con, "flights", nycflights13::flights, overwrite = TRUE)
```

::: {.panel-tabset}

## SQL
```{sql, connection=con}
SELECT *
FROM flights;
```

:::
</pre>

## rendered output
I had to zoom out my browser to level of 33% to capture it all
![image](https://user-images.githubusercontent.com/18688877/204473167-ea0bf18a-d0be-42b7-a92c-a3b648c387b4.png)

Instead, I would expect the table to be inside the tab's boundaries, with a horizontal scroll bar.

-------

- Quarto version: `1.2.269`
- RStudio version: `2022.07.2+576 Spotted Wakerobin (desktop)`

<details>
  <summary>Session Info</summary>

  ``` r
  sessioninfo::session_info()
  #> - Session info ---------------------------------------------------------------
  #>  setting  value
  #>  version  R version 4.2.2 (2022-10-31 ucrt)
  #>  os       Windows 8.1 x64 (build 9600)
  #>  system   x86_64, mingw32
  #>  ui       RTerm
  #>  language (EN)
  #>  collate  English_United States.1252
  #>  ctype    English_United States.1252
  #>  tz       Asia/Jerusalem
  #>  date     2022-11-29
  #>  pandoc   2.19.2 @ C:/Program Files/RStudio/bin/quarto/bin/tools/ (via rmarkdown)
  #> 
  #> - Packages -------------------------------------------------------------------
  #>  package     * version date (UTC) lib source
  #>  cli           3.4.1   2022-09-23 [1] CRAN (R 4.2.1)
  #>  digest        0.6.30  2022-10-18 [1] CRAN (R 4.2.1)
  #>  evaluate      0.18    2022-11-07 [1] CRAN (R 4.2.2)
  #>  fastmap       1.1.0   2021-01-25 [1] CRAN (R 4.2.2)
  #>  fs            1.5.2   2021-12-08 [1] CRAN (R 4.2.2)
  #>  glue          1.6.2   2022-02-24 [1] CRAN (R 4.2.1)
  #>  highr         0.9     2021-04-16 [1] CRAN (R 4.2.2)
  #>  htmltools     0.5.3   2022-07-18 [1] CRAN (R 4.2.1)
  #>  knitr         1.40    2022-08-24 [1] CRAN (R 4.2.1)
  #>  lifecycle     1.0.3   2022-10-07 [1] CRAN (R 4.2.1)
  #>  magrittr      2.0.3   2022-03-30 [1] CRAN (R 4.2.1)
  #>  reprex        2.0.2   2022-08-17 [1] CRAN (R 4.2.1)
  #>  rlang         1.0.6   2022-09-24 [1] CRAN (R 4.2.1)
  #>  rmarkdown     2.18    2022-11-09 [1] CRAN (R 4.2.2)
  #>  rstudioapi    0.14    2022-08-22 [1] CRAN (R 4.2.1)
  #>  sessioninfo   1.2.2   2021-12-06 [1] CRAN (R 4.2.2)
  #>  stringi       1.7.8   2022-07-11 [1] CRAN (R 4.2.1)
  #>  stringr       1.4.1   2022-08-20 [1] CRAN (R 4.2.1)
  #>  withr         2.5.0   2022-03-03 [1] CRAN (R 4.2.1)
  #>  xfun          0.34    2022-10-18 [1] CRAN (R 4.2.2)
  #>  yaml          2.3.6   2022-10-18 [1] CRAN (R 4.2.1)
  #> 
  #>  [1] C:/Program Files/R/my_packages
  #>  [2] C:/Program Files/R/R-4.2.2/library
  #> 
  #> ------------------------------------------------------------------------------
  ```
  
  <sup>Created on 2022-11-29 with [reprex v2.0.2](https://reprex.tidyverse.org)</sup>


</details>

2022-11-29T08:17:45Z
emmansh
enhancement tables
v1.3
closed
Table output of SQL code exceeds right border when code chunk is inside a tabset panel
https://github.com/quarto-dev/quarto-cli/issues/3497