Commit dc451219 authored by Marc Venturini's avatar Marc Venturini

Change video with to 400 in element_attrs

parent 7f17651a
---
title: Fixed the scale of embedded videos to fit the page
merge_request: 20056
author:
type: fixed
......@@ -15,7 +15,7 @@ module Banzai
end
def extra_element_attrs
{ width: "100%" }
{ width: "400" }
end
end
end
......
......@@ -32,7 +32,7 @@ describe Banzai::Filter::VideoLinkFilter do
expect(video.name).to eq 'video'
expect(video['src']).to eq src
expect(video['width']).to eq "100%"
expect(video['width']).to eq "400"
expect(paragraph.name).to eq 'p'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment