Skip to content

Commit 538559f

Browse files
jeremymanningclaude
andcommitted
Compact quiz panel in landscape mode for mobile (#58)
Fix class name (quiz-instruction not quiz-prompt), reduce option min-height to 28px, tighten padding/gaps/font-sizes so all 4 answer options plus skip button fit without scrolling on 667x375 viewports. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f5dcfd6 commit 538559f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

index.html

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -895,6 +895,20 @@
895895
#quiz-panel.open { height: auto; max-height: 100%; }
896896
/* Video panel: left-side drawer in landscape */
897897
#video-panel.open { height: auto; max-height: 100%; }
898+
899+
/* Compact quiz panel for landscape phones (#58) */
900+
.modes-wrapper { display: none !important; }
901+
.auto-advance-label { font-size: 0.7rem; margin: 0; padding: 0; line-height: 1; }
902+
.auto-advance-label input { width: 24px; height: 14px; }
903+
.auto-advance-wrap { margin: 0 !important; padding: 0 0.8rem !important; }
904+
#quiz-panel .quiz-question { font-size: 0.78rem; line-height: 1.15; margin: 0.1rem 0; }
905+
#quiz-panel .quiz-instruction { display: none; }
906+
#quiz-panel .quiz-option { padding: 0.2rem 0.5rem; font-size: 0.76rem; min-height: 28px; }
907+
#quiz-panel .quiz-content { padding: 0.2rem 0.8rem 0.2rem; gap: 0.05rem; }
908+
#quiz-panel .quiz-feedback-area { gap: 0.15rem; }
909+
#quiz-panel .progress-summary { font-size: 0.7rem; margin: 0; padding: 0 0.8rem; line-height: 1.2; }
910+
#quiz-panel .progress-summary + div { height: 2px; margin: 0 0.8rem; }
911+
.quiz-toggle-btn { width: 32px !important; min-width: 32px !important; font-size: 0.8rem !important; }
898912
}
899913
</style>
900914
</head>

0 commit comments

Comments
 (0)