fix(site): stop Ask tutor popup from obscuring code lab#13
Merged
Conversation
The hero mockup's Ask tutor popup was absolutely positioned over the code lab panel, truncating the right edge of the code and 'Ran cleanly' output lines. - Move the chat card into normal flow inside .mock__main, stacked below the lab with margin-top - Drop position: absolute / right / bottom on .mock__chat - Shorten the demo print() line and output string so the lab body never needs to compete with the chat for width - Bump code and bubble font sizes 1px for legibility
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The static hero landing site at `site/` had its Ask tutor popup floating over the code lab panel via `position: absolute`. On rendered widths this clipped the right edge of the `print(...)` line and the `✓ Ran cleanly` output — looking like content cutoff/overflow rather than a clean overlay.
Fix: take the chat out of absolute positioning and dock it as a normal in-flow card below the lab, inside `.mock__main`. The lab now owns its full width; the chat sits cleanly beneath it. Also shortened the demo code / output strings and bumped code + bubble type by 1px for legibility.
Changes
Testing
🤖 Generated by Computer