Commit d503ca09 authored by Kristi Park's avatar Kristi Park Committed by Commit Bot

[NTP] Keep attribution behind the custom link toast notification

Fix attribution floating above the custom link toast notification.

Bug: 851296
Change-Id: Ibcf9ae6e48f89d6a7fece3fa79455d4004bece05
Reviewed-on: https://chromium-review.googlesource.com/c/1336668
Commit-Queue: Kristi Park <kristipark@chromium.org>
Reviewed-by: default avatarRamya Nagarajan <ramyan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608482}
parent 597752e4
......@@ -589,6 +589,7 @@ html[dir=rtl] .plus-icon {
padding: 8px 8px 8px 8px;
position: fixed;
text-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
z-index: -1;
}
html[dir=rtl] #custom-bg-attr {
......
......@@ -553,6 +553,18 @@ html[dir=rtl] #mv-notice-x {
transition: bottom 400ms;
}
/* Required to allow click events through the wrapping div of the toast
* notification container. */
.md-icons #mv-notice-container,
#error-notice-container {
pointer-events: none;
}
.md-icons #mv-notice-container > div,
#error-notice-container > div {
pointer-events: all;
}
.md-icons #mv-notice-container.float-up {
bottom: 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment