Commit 4f8b8421 authored by Fatih Acet's avatar Fatih Acet

Merge branch 'fix-35908' into 'master'

Change video with to 400 in element_attrs

See merge request gitlab-org/gitlab!20056
parents f1862602 dc451219
---
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