Skip to content

Commit 4ef61dc

Browse files
mayurpiseclaude
andcommitted
fix(web): audio page cover clipping the title
The cover card forced aspect-ratio:1 with overflow:hidden, but the title + How-to-Listen instructions are taller than the square allowed. Result: the H1 was cropped and the instructions bled past the gradient edge. Drop the forced square; let the card size to content. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 55c147a commit 4ef61dc

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

web/book/audio/index.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,15 @@
4242
.audio-page-cover-wrapper {
4343
position: sticky;
4444
top: 100px;
45-
aspect-ratio: 1;
4645
background: linear-gradient(135deg, #2563eb, #7c3aed);
4746
border-radius: 32px;
4847
display: flex;
4948
flex-direction: column;
5049
align-items: center;
51-
justify-content: center;
50+
justify-content: flex-start;
5251
box-shadow: 0 30px 60px rgba(0,0,0,0.4);
53-
padding: 40px;
52+
padding: 48px 40px;
5453
text-align: center;
55-
overflow: hidden;
5654
}
5755

5856
.cover-title {

0 commit comments

Comments
 (0)