Skip to content
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

Merged
merged 5 commits into from Nov 3, 2017
Merged

Fixes page aspect ratio to 6/19 #11909

merged 5 commits into from Nov 3, 2017

Conversation

prateekbh
Copy link
Member

This pr fixes page aspect ratio to 6/19 as listed in #11848

cc: @alanorozco @newmuis @choumx

@@ -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, {

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.

Copy link
Member Author

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@prateekbh
Copy link
Member Author

request for merge

@dreamofabear dreamofabear merged commit 73f6850 into ampproject:master Nov 3, 2017
@prateekbh prateekbh deleted the pageAspectRatio branch November 3, 2017 16:43
@prateekbh prateekbh mentioned this pull request Nov 6, 2017
11 tasks
neko-fire pushed a commit to 3qnexx/amphtml that referenced this pull request Nov 17, 2017
* fixing style merge conflicts

* locking page aspect ratio

* locking page aspect ratio
gzgogo pushed a commit to gzgogo/amphtml that referenced this pull request Jan 26, 2018
* fixing style merge conflicts

* locking page aspect ratio

* locking page aspect ratio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants