Skip to content

Commit 70c23b6

Browse files
authored
Merge pull request #9080 from quarto-dev/bugfix/9076
html,layout,columns - fix regression in executable code cell results with multiple columns and layout
2 parents 751baef + 864bc5b commit 70c23b6

File tree

2 files changed

+101
-1
lines changed

2 files changed

+101
-1
lines changed

src/format/html/format-html-bootstrap.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1159,7 +1159,10 @@ function processColumnElements(
11591159
// Add the grid system. Children of the grid system
11601160
// are placed into the body-content column by default
11611161
// (CSS implements this)
1162-
if (!el.classList.contains("page-columns")) {
1162+
if (
1163+
!el.classList.contains("quarto-layout-row") &&
1164+
!el.classList.contains("page-columns")
1165+
) {
11631166
el.classList.add("page-columns");
11641167
}
11651168

0 commit comments

Comments
 (0)