Skip to content

[Docs] Fix alignment of Be Recognized card background illustration#1165

Open
piyushtripathi9424 wants to merge 1 commit into
layer5io:masterfrom
piyushtripathi9424:fix-be-recognized-card-1156
Open

[Docs] Fix alignment of Be Recognized card background illustration#1165
piyushtripathi9424 wants to merge 1 commit into
layer5io:masterfrom
piyushtripathi9424:fix-be-recognized-card-1156

Conversation

@piyushtripathi9424

Copy link
Copy Markdown
Contributor

Description

This PR fixes the alignment and sizing issue with the background illustration in the "Be Recognized" card (#1156).

Root Cause: The background-size: 50% property was being applied to both the black semi-opaque background and the recognition-program.png logo. Because the logo is much taller than it is wide, keeping its width at 50% caused its height to stretch and peek out from behind the square black background.

Fix: Extracted .recognition-program-logo into its own CSS rule and increased the size of the black semi-opaque background to 75% while preserving the logo size at 50%. This ensures the logo is fully contained within the background circle, visually matching the other resource cards.

Fixes #1156

Screenshots 📸

Before After
Screenshot 2026-07-14 at 7 31 03 PM Screenshot 2026-07-14 at 7 24 29 PM

@welcome

welcome Bot commented Jul 14, 2026

Copy link
Copy Markdown

Yay, your first pull request! 👍 A contributor will be by to give feedback soon. In the meantime, please review the Layer5 Community Welcome Guide and sure to join the community Slack.
Be sure to double-check that you have signed your commits. Here are instructions for making signing an implicit activity while peforming a commit.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request updates SCSS styles for landing project logos and video carousels. Specifically, it isolates the styling of .recognition-program-logo to apply custom background sizes and a minimum height, and nests carousel-related classes under .related-videos while updating transition effects, colors, and active states for indicators. There are no review comments, and I have no additional feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@github-actions

Copy link
Copy Markdown
Contributor

🚀 Preview deployment: https://docs.layer5.io/pr-preview/pr-1165/

Note: Preview may take a moment (GitHub Pages deployment in progress). Please wait and refresh. Track deployment here

Signed-off-by: piyushtripathi9424 <piyush.miraibanglore@gmail.com>
@piyushtripathi9424 piyushtripathi9424 force-pushed the fix-be-recognized-card-1156 branch from e881e01 to f67e4ce Compare July 14, 2026 14:15
@dhruveshmishra

Copy link
Copy Markdown
Contributor

@piyushtripathi9424 LGTM🚀

@piyushtripathi9424

Copy link
Copy Markdown
Contributor Author

@piyushtripathi9424 LGTM🚀

Thankyou ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Be Recognized card background illustration is misaligned compared to other resource cards

2 participants