diff --git a/lib/decidim/iframe/component.rb b/lib/decidim/iframe/component.rb index 197510a..dfffe91 100644 --- a/lib/decidim/iframe/component.rb +++ b/lib/decidim/iframe/component.rb @@ -43,9 +43,11 @@ settings: { announcement: { en: Faker::Lorem.paragraphs(number: 2).join("\n") }, src: "", - frameborder: "0", - resize_iframe: "responsive", - height: "" + content_width: "full_width", + content_height: "16:9", + frameborder: false, + viewport_width: true, + no_margins: false } }