justinribeiro / lite-youtube

The fastest little YouTube web component on this side of the internet. The shadow dom web component version of Paul's lite-youtube-embed.
https://www.npmjs.com/package/@justinribeiro/lite-youtube
MIT License
948 stars 70 forks source link

position absolute display issues - missing left: 0; #46

Closed LarsPeterson closed 2 years ago

LarsPeterson commented 2 years ago

image

image

Issues are caused by position absolute on the following css:

image

image

HERE IS THE FIX:

image

image

image

Hi @justinribeiro, please advise.

LarsPeterson commented 2 years ago

I'm not sure if I am doing something wrong.

I can't edit the CSS since its the shadow dom. How to adjust?

LarsPeterson commented 2 years ago

Looks like a previous issue also mentions this CSS issue (left: 0), I apologize for duplicating the issue but it looks like it wasn't resolved.

https://github.com/justinribeiro/lite-youtube/issues/43

justinribeiro commented 2 years ago

It's merged, but needs a release. I'll cut it this afternoon. :+1:

justinribeiro commented 2 years ago

Fixed in v1.3.1 https://github.com/justinribeiro/lite-youtube/releases/tag/v1.3.1 now on NPM.