Skip to content

fix: youtube thumbnail visibility in slider fixes #2297#2298

Open
Maitry-Gala wants to merge 1 commit into
piyushgarg-dev:mainfrom
Maitry-Gala:fix/youtube-thumbnail-display
Open

fix: youtube thumbnail visibility in slider fixes #2297#2298
Maitry-Gala wants to merge 1 commit into
piyushgarg-dev:mainfrom
Maitry-Gala:fix/youtube-thumbnail-display

Conversation

@Maitry-Gala

@Maitry-Gala Maitry-Gala commented May 16, 2026

Copy link
Copy Markdown

Fixes #2297

What does this PR do?

Fixes the YouTube video thumbnails not being visible in the slider
on the homepage. Tailwind's preflight CSS applies display: block
globally to all img tags, which was collapsing the images inside
the react-slick slider. Added display: inline-block to the img
inline style in Services.jsx to override this.

Fixes #(your issue number)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

  • Visit the homepage and scroll to the YouTube section
  • Verify that video thumbnails are now visible in the slider
  • Verify that clicking a thumbnail still redirects to the correct YouTube video
  • Verify the slider autoplay still works correctly
ISSUE

Mandatory Tasks

  • [] Make sure you have self-reviewed the code. - yes
fix

@vercel

vercel Bot commented May 16, 2026

Copy link
Copy Markdown

@Maitry-Gala is attempting to deploy a commit to the Piyush Garg's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[Bug]: YouTube video thumbnails not visible in the slider

1 participant