MCPcopy
hub / github.com/ampproject/amphtml / removePaddingToHtml_

Method removePaddingToHtml_

third_party/subscriptions-project/swg.js:11302–11304  ·  view source on GitHub ↗

* Removes previouly added bottom padding from the document. * @private

()

Source from the content-addressed store, hash-verified

11300 * @private
11301 */
11302 removePaddingToHtml_() {
11303 this.doc_.getRootElement().style.removeProperty('padding-bottom');
11304 }
11305
11306 /**
11307 * Sets the position of the dialog. Currently only supports 'BOTTOM', with

Callers 2

closeMethod · 0.95
updatePaddingToHtml_Method · 0.95

Calls 1

getRootElementMethod · 0.45

Tested by

no test coverage detected