Open mrcasals opened 7 years ago
PR https://github.com/AjuntamentdeBarcelona/decidim/pull/992 (where the embedding feature is added) adds some basic styles, but I guess they should be improved.
The same iframe in the decidim-design
code is working as expected, so te problem is the CSS applied in the .ql-video
class. Can we remove this class or the conflicting styles in the player CSS?
:tophat: User Story
We're adding the functionality to embed videos through the editor, but once the page is saved the video is shown very small:
(that's 300x150px)
The code generated by the editor (quilljs) is this:
The Process show page has an embedded video, but it's surrounded by an
.embed-container
element. I tried to add this class to theiframe
but did not work. Can we have styles for the.ql-video
class so that the video gets all the width of the section?:clipboard: Related documentation
None
:dart: Acceptance criteria
videos embedded through quilljs occupy the whole width of the section.
:pushpin: Related issues
https://github.com/AjuntamentdeBarcelona/decidim/pull/992