Skip to content
Snippets Groups Projects
Commit e747df43 authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3577: fixing width and height for remote video

parent 6f8b9c0b
No related branches found
No related tags found
No related merge requests found
.uw-remote-video { .uw-remote-video {
&__wrapper { &__wrapper {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
text-align: center; text-align: center;
} }
&__wrapper.uw-contained-width { &__wrapper.uw-contained-width {
@include uw-contained-width; @include uw-contained-width;
} }
.media-oembed-content { .uw-field__item {
width: 100%; height: 0;
} padding-bottom: 56.25%; /* 16:9 */
} position: relative;
.media-oembed-content {
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment