Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions css/amp.css
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,9 @@ i-amp-scroll-container.amp-active {
*/
.i-amphtml-element > [overflow] {
cursor: pointer;
/* position:relative is critical to ensure that [overflow] is displayed
above an iframe; z-index is not enough. */
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I assume problem was z-index alone was not creating a stacking context so maybe comment can be updated to z-index alone is not enough to create a stacking context, element must also be positioned (relatively or absolutely). See https://goo.gl/VzS6TK

position: relative;
z-index: 2;
visibility: hidden;
}
Expand Down