-
Notifications
You must be signed in to change notification settings - Fork 384
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #842: Merge in develop, resolve conflicts.
Mostly resolve in favor of develop. But apply some changes from branch add/842-plugin-validation. Like the constant AMP_Validation_Utils::CALLBACK_KEY, instead of 'remove_invalid_callback'.
- Loading branch information
Showing
18 changed files
with
1,124 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.amp-wp-enforced-sizes { | ||
/** Our sizes fallback is 100vw, and we have a padding on the container; the max-width here prevents the element from overflowing. **/ | ||
max-width: 100%; | ||
margin: 0 auto; | ||
} | ||
|
||
.amp-wp-unknown-size img { | ||
/** Worst case scenario when we can't figure out dimensions for an image. **/ | ||
/** Force the image into a box of fixed dimensions and use object-fit to scale. **/ | ||
object-fit: contain; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* For the custom AMP implementation of the 'playlist' shortcode. | ||
*/ | ||
.wp-playlist .wp-playlist-current-item img { | ||
margin-right: 0; | ||
} | ||
|
||
.wp-playlist .wp-playlist-current-item amp-img { | ||
float: left; | ||
margin-right: 10px; | ||
} | ||
|
||
.wp-playlist audio { | ||
display: block; | ||
} | ||
|
||
.wp-playlist .amp-carousel-button { | ||
visibility: hidden; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.