Commit df389241 authored by kristipark's avatar kristipark Committed by Commit Bot

[NTP] Fix z-index for MV tiles

Relative is required for z-index to function. This will place the icon
and title behind the semi-transparent background on hover.
Screenshot: https://screenshot.googleplex.com/AK4t7nhOJfr.png

Bug: 872206, 864357
Change-Id: I2300cd6f5ef3a012ef7be2501f8cf27bc4d6f220
Reviewed-on: https://chromium-review.googlesource.com/1167648
Commit-Queue: Kristi Park <kristipark@chromium.org>
Reviewed-by: default avatarMathieu Perreault <mathp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#581744}
parent c47dd22c
...@@ -433,6 +433,7 @@ body.dark-theme .md-tile-container:active + .md-menu::after { ...@@ -433,6 +433,7 @@ body.dark-theme .md-tile-container:active + .md-menu::after {
display: flex; display: flex;
flex-flow: column nowrap; flex-flow: column nowrap;
height: 100%; height: 100%;
position: relative;
width: 100%; width: 100%;
z-index: -1; z-index: -1;
} }
......
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