Skip to content

Commit 60d1bf8

Browse files
jeremymanningclaude
andcommitted
shrink code block on Problem 1 solution slide to fit note-box
The scale-80 directive shrank the whole slide proportionally but the 20-line code block still pushed the note-box off the bottom. Use a scoped style to shrink just the pre element (0.65em) instead of the whole slide — keeps the heading and note-box at normal size. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 77a774f commit 60d1bf8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

slides/programming-basics.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,18 @@ songs = [
5454

5555
<div class="tip-box" data-title="Think first">
5656

57-
This looks simple but it's a complete analysis pipeline: **group**, **aggregate**, **sort**, **slice**. You'll do some version of this in every Part II project.
57+
This looks simple but it's a complete analysis pipeline: **group**, **aggregate**, **sort**, **slice**. You'll likely do some version of this in every Part II project.
5858

5959
</div>
6060

6161
---
62-
<!-- _class: scale-80 -->
6362

6463
# Problem 1: one reasonable solution
6564

65+
<style scoped>
66+
section pre { font-size: 0.65em; line-height: 1.25; margin-bottom: 0.5em; }
67+
</style>
68+
6669
```python
6770
# Step 1: group plays by genre
6871
plays_by_genre = {}

0 commit comments

Comments
 (0)