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

✨ Implement sticky ad bottom type ad on amp-ad #31491

Merged
merged 5 commits into from
Jan 7, 2021

Conversation

powerivq
Copy link
Contributor

@powerivq powerivq commented Dec 8, 2020

Add a white background and shadow css, so that the amp-ad sticky ad looks much more like amp-sticky-ad. Ensure resizing works on both amp-ad scenarios.

@powerivq powerivq force-pushed the sticky-ad-imp branch 2 times, most recently from a025fe5 to 834c543 Compare December 8, 2020 21:51
@powerivq powerivq requested a review from calebcordry December 16, 2020 17:50
@powerivq powerivq force-pushed the sticky-ad-imp branch 2 times, most recently from 7b8fe35 to e60e15f Compare December 16, 2020 20:32
@amp-owners-bot
Copy link

Hey @Jiaming-X! These files were changed:

extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js

Hey @jeffkaufman! These files were changed:

extensions/amp-ad-network-adsense-impl/0.1/amp-ad-network-adsense-impl.js
extensions/amp-ad-network-doubleclick-impl/0.1/amp-ad-network-doubleclick-impl.js

extensions/amp-ad/0.1/amp-ad-ui.js Show resolved Hide resolved
@@ -43,21 +43,23 @@ amp-story-page[xdomain-ad] .i-amphtml-glass-pane {
}

/* TODO(ccordry): refactor centering logic in amp-ad.css and remove this hack. */
Copy link
Member

Choose a reason for hiding this comment

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

lol.

extensions/amp-ad/0.1/amp-ad.css Outdated Show resolved Hide resolved
extensions/amp-ad/0.1/amp-ad-ui.js Outdated Show resolved Hide resolved
@powerivq powerivq force-pushed the sticky-ad-imp branch 6 times, most recently from a35fa20 to c110da8 Compare December 29, 2020 03:42
@powerivq
Copy link
Contributor Author

Merging was blocked by #31756

@powerivq powerivq requested a review from dvoytenko December 29, 2020 05:29
@amp-bundle-size amp-bundle-size bot requested a review from jridgewell January 6, 2021 01:16
powerivq and others added 5 commits January 7, 2021 11:02
samouri added a commit that referenced this pull request Jan 20, 2021
)

* Revert "✨ Implement sticky ad bottom type ad on amp-ad (#31491)"

This reverts commit 5f43080.

* Upgrade @babel/parser to support import assertions

Not sure why this version is stale. v 7.11 uses `with` syntax, which was changed to `assert` syntax.

* lint fix

Co-authored-by: Jake Fried <samouri@users.noreply.github.com>
PetrBlaha pushed a commit to PetrBlaha/amphtml that referenced this pull request Jan 28, 2021
)" (ampproject#32054)

* Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"

This reverts commit 5f43080.

* Upgrade @babel/parser to support import assertions

Not sure why this version is stale. v 7.11 uses `with` syntax, which was changed to `assert` syntax.

* lint fix

Co-authored-by: Jake Fried <samouri@users.noreply.github.com>
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Mar 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Apr 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request May 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Jun 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Jul 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Aug 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Sep 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Oct 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Nov 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Dec 1, 2024
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
github-actions bot pushed a commit to mohammed-ibra/amphtml that referenced this pull request Jan 1, 2025
Previous history on prod-config.json:

- b738789 - 2021-01-27T13:32:15-08:00 - Launch layout-aspect-ratio-css to 1%
- c0de64d - 2021-01-19T20:39:22-05:00 - Revert "✨ Implement sticky ad bottom type ad on amp-ad (ampproject#31491)"
- 5f43080 - 2021-01-07T13:54:47-08:00 - ✨ Implement sticky ad bottom type ad on amp-ad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants