Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stretch background so it covers on larger screens #4405

Merged
merged 2 commits into from
Mar 4, 2022

Conversation

msorens
Copy link
Contributor

@msorens msorens commented Mar 3, 2022

馃敥 Description: What code changed, and why?

The new community page looks fine at reasonably high resolution (3456 脳 2234 on my machine)...

image

but there are yet much higher resolutions to be had out there!
If I emulate that by reducing the image (via Cmd + - several times) this artifact is revealed--notice the clouds no longer cover the full background:
image

And reducing even further, we get another artifact (I added a border just so you can delineate the edge of the image):
image

馃憤 Definition of Done

Even at highest resolution, we want the background image to maintain its full cover:
image

馃憻 How to Build and Test the Change

Visit the netlify deploy preview

鉀擄笍 Related Resources

Signed-off-by: Michael Sorens msorens@styra.com

Signed-off-by: Michael Sorens <msorens@styra.com>
@msorens msorens marked this pull request as ready for review March 3, 2022 19:55
Copy link
Contributor

@srenatus srenatus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neat trick with the Cmd--. LGTM. Thanks! 馃帀

@srenatus srenatus merged commit 495cdee into open-policy-agent:main Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants