You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Bootstrap extension currently adds img-fluid to media links, because media links are treated as images. Instead, it should add embed-responsive-item. The iframe needs to be surrounded with a div with the following classes: embed-responsive embed-responsive-16by9 (the aspect ratio could be configurable).
The text was updated successfully, but these errors were encountered:
RudeySH
changed the title
Add embed-responsive classes to media links when using Bootstrap extension
Add embed-responsive wrapper and classes to media links when using Bootstrap extension
May 12, 2020
Bootstrap provides classes for embeds: https://getbootstrap.com/docs/4.4/utilities/embed/
The Bootstrap extension currently adds
img-fluid
to media links, because media links are treated as images. Instead, it should addembed-responsive-item
. The iframe needs to be surrounded with a div with the following classes:embed-responsive embed-responsive-16by9
(the aspect ratio could be configurable).The text was updated successfully, but these errors were encountered: