futtta / wp-youtube-lyte

Embed YouTube on WordPress for optimal performance
24 stars 10 forks source link

.hidden should be .lyte .hidden? #13

Closed futtta closed 5 years ago

futtta commented 5 years ago

I use it together with tailwindcss on a page and ran into a problem with Lyte creating the .hidden class in inline styles. This overrides the use of .hidden from tailwindcss, exspecially when using it with responsive options like class="hidden md:block" - in tailwindcss this will hide on all smaller displays and display in larger ones. But the inline definition from Lyte will override it so hidden will always be display: none. Is there a chance that you might rename the classname of hidden to maybe .lyte-hidden in future versions?