#5737: Apostrophe 2: Fix VideoPress display if alignwide or alignfull set (#6007)

This commit is contained in:
Bob Matyas 2022-06-01 08:52:32 -04:00 committed by GitHub
parent cf5b3efa8d
commit 1173998c03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,7 +93,6 @@ body {
.apostrophe-2-no-sidebar .wp-block-embed.is-type-video.alignfull iframe {
width: 100% !important;
height: 100% !important;
}
.apostrophe-2-no-sidebar .wp-block-embed.is-type-video.alignfull:before {
@ -101,15 +100,6 @@ body {
display: block;
}
.apostrophe-2-no-sidebar .wp-block-embed.is-type-video.alignfull iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100% !important;
height: 100% !important;
}
/* Wide Width */
@ -123,20 +113,6 @@ body {
position: relative;
}
.apostrophe-2-no-sidebar .wp-block-embed.is-type-video.alignwide:before {
content: "";
display: block;
}
.apostrophe-2-no-sidebar .wp-block-embed.is-type-video.alignwide iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
}
/* Nested Blocks */