Skip to content

Commit fe03d4e

Browse files
Keep science-practice single-column for tables with 6+ columns (#612)
1 parent 7063947 commit fe03d4e

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased]
99

1010
- Add margins to numbered lists in `hs-physics` worked examples and snap labs (CORE-1789)
11+
- Keep science-practice single-column for tables with 6+ columns
1112
- Indent question stem lists less in `carnival`
1213
- Indent first-level lists in eos sections in `corn`
1314

styles/books/ap-biology/book.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262

6363
@include add_settings((
6464
TwoColumnsModules: (
65-
_selectors: ('.os-review-container', '.os-ap-test-prep-container', '.os-science-practice-container'),
65+
_selectors: ('.os-review-container', '.os-ap-test-prep-container', '.os-science-practice-container:not(:has(.os-table > table tr td:nth-of-type(6)))'),
6666
),
6767
));
6868

styles/output/ap-biology-pdf.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3863,7 +3863,7 @@ h4.os-subtitle + .os-figure:not(.has-splash) > figure {
38633863
column-width: auto;
38643864
}
38653865

3866-
.os-science-practice-container {
3866+
.os-science-practice-container:not(:has(.os-table > table tr td:nth-of-type(6))) {
38673867
column-count: 2;
38683868
column-gap: 2.4rem;
38693869
column-width: auto;

0 commit comments

Comments
 (0)