Fix: Improve visibility of Related Videos carousel navigation (#1163)#1164
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors and enhances the carousel styles within the .related-videos class in _videos_project.scss. The review feedback recommends replacing the generic transition: all properties with explicit transitions for specific properties (such as background-color, box-shadow, transform, and width) to improve browser rendering performance.
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.
bf4fb41 to
c6507b8
Compare
|
🚀 Preview deployment: https://docs.layer5.io/pr-preview/pr-1164/
|
da47b3f to
e19fe2f
Compare
yi-nuo426
left a comment
There was a problem hiding this comment.
Thanks. Don't encircle the arrows. Just invert their coloring to be of high contrast.
c1674d1 to
3b9ef8f
Compare
Fixes layer5io#1163 by increasing the contrast, size, and hover effects of the carousel navigation arrows and pagination indicators to ensure visibility across both light and dark modes. Signed-off-by: piyushtripathi9424 <piyush.miraibanglore@gmail.com>
3b9ef8f to
4780c1f
Compare
Inverted as requested. |
Sbragul26
left a comment
There was a problem hiding this comment.
Could we make the icon a bit smaller? It is bigger than the one on the production site and grows even more on hover. I think just changing the color for better contrast would be enough.
Description
This PR fixes Issue #1163 by making the "Related Videos" carousel navigation more visible and accessible.
Key Changes
filter: invert(100%) contrast(200%)and enlarged the arrows to ensure high contrast without needing bulky circular backgrounds..related-videos.Screenshot
Fixes #1163