diff --git a/plugins/lazyYT/assets/stylesheets/lazyYT_mobile.scss b/plugins/lazyYT/assets/stylesheets/lazyYT_mobile.scss new file mode 100644 index 000000000..149a8d9b8 --- /dev/null +++ b/plugins/lazyYT/assets/stylesheets/lazyYT_mobile.scss @@ -0,0 +1,3 @@ +.lazyYT { + max-width: 100%; +} diff --git a/plugins/lazyYT/plugin.rb b/plugins/lazyYT/plugin.rb index 8dda406d4..6993233ea 100644 --- a/plugins/lazyYT/plugin.rb +++ b/plugins/lazyYT/plugin.rb @@ -8,6 +8,7 @@ register_asset "javascripts/lazyYT.js" # stylesheet register_asset "stylesheets/lazyYT.css" +register_asset "stylesheets/lazyYT_mobile.scss", :mobile # freedom patch YouTube Onebox class Onebox::Engine::YoutubeOnebox