Repository navigation
Keep the home hero side by side on a tablet in portrait - #65
Merged
Merged
Conversation
From 700px the copy sits on the start side and the photograph on the other, as on landscape; the title is a little smaller and the buttons stack in the narrow column. The photograph now fades into the hero with a mask instead of an overlay, which also removes a faint vertical edge. Phones (under 700px) are unchanged.
Deploying udienz-github-io with
|
| Latest commit: |
ec41acb
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2aaf79b1.udienz-github-io.pages.dev |
| Branch Preview URL: | https://fix-hero-tablet-portrait.udienz-github-io.pages.dev |
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.
Follow-up to #64. On a tablet in portrait (about 830px wide) the home hero stacked, with the photograph under the text; side by side only started at 960px. The owner saw it on a real tablet and approved the mockup in the workspace repository (
project/blogging/redesign/mockup-hero-tablet-portrait.png).What changes (one file,
_sass/_home.scss)mask-imageinstead of an overlay. That also removes a faint vertical edge that the mockup showed at 834px. The right-to-left rule is kept.Checks (Cloudflare Pages preview of this branch, Chromium)
The hero was measured at 11 widths; none has horizontal overflow.