Repository navigation
Update the portrait immersive layout to match designs - #17020
joshuaguardian wants to merge 2 commits into
Conversation
frederickobrien
left a comment
There was a problem hiding this comment.
Looks good to me, though would value @JamieB-gu's two cents on the changes made to grid.ts as that powers a lot of layout stuff these days
ah I was going to remove that actually as it just fixed this horizontal scrolling in storybook, I need to do some more testing... |
🚀 Image pushed to AWS ECRImage digest: 🐛 Run the image locallyThe following can be used to run the image locally: # Refer to image using the immutable digest. Find alternatives below.
IMAGE_IDENTIFIER="@sha256:6ec0b626f3de06f999cb00c97a0bf3b665e2f364366bead3544adcd114278768"
# Refer to image using branch tag
# IMAGE_IDENTIFIER=":branch-fix-portrait-view"
# Refer to image using build tag
# IMAGE_IDENTIFIER=":build-33152"
# Set environment variables for the AWS CLI
AWS_PROFILE="<A_PROFILE_FROM_JANUS>"
AWS_DEFAULT_REGION="eu-west-1"
IMAGE_ACCOUNT_ID=$(aws ssm get-parameter --name /organisation/accounts/artifacts --query "Parameter.Value" --output text)
REGISTRY="${IMAGE_ACCOUNT_ID}.dkr.ecr.${AWS_DEFAULT_REGION}.amazonaws.com"
IMAGE="${REGISTRY}/guardian/dotcom-rendering/dotcom-rendering${IMAGE_IDENTIFIER}"
# Login to AWS ECR https://docs.aws.amazon.com/AmazonECR/latest/userguide/registry_auth.html
aws ecr get-login-password | docker login --username AWS --password-stdin $REGISTRY
# Pull the image
docker pull $IMAGE
# Run the image. You'll likely need to set additional flags. See https://docs.docker.com/reference/cli/docker/container/run.
docker run $IMAGEFrom guardian/actions-ecr. |
e8e5012 to
9d63114
Compare
|
If I understand right @joshuaguardian does the @guardian/commercial-dev approved |
|
No the grid changes are still necessary - essentially I'm saying the gap between columns can be smaller when there isn't as much room on the screen - we see horizontal scrolling at various breakpoint sizes, this removes that. The ad slot change is also part of removing the horizontal scroll at smaller screen sizes |
9d63114 to
5e38b02
Compare
Roger that - good stuff! |
5e38b02 to
dcf8432
Compare








What does this change?
Update the portrait immersive layout to match designs
Why?
How has this change been tested?
Storybook and manually
Screenshots