New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes page aspect ratio to 6/19 #11909
Conversation
@@ -609,15 +609,19 @@ export class AmpStory extends AMP.BaseElement { | |||
const platform = Services.platformFor(this.win); | |||
if (platform.isSafari() || platform.isIos()) { | |||
this.mutateElement(() => { | |||
setStyle(this.element, 'display', 'none'); | |||
setImportantStyles(this.element, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we only want to set initial amp-story styles as important.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah sorry, my bad. Didn't see that the one in file is also not important
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
…ageAspectRatio
request for merge |
* fixing style merge conflicts * locking page aspect ratio * locking page aspect ratio
* fixing style merge conflicts * locking page aspect ratio * locking page aspect ratio
This pr fixes page aspect ratio to 6/19 as listed in #11848
cc: @alanorozco @newmuis @choumx