Remove hard-coded z-index value from page-issues read-more link

Defines the z-index value of the "fade-out" below the read-more text
as a variable instead of a hard-coded value. The variable is essentially
1 value below the z-index of the parent element.

The output of this change remains the same, the parent z-index value
is 0 so the "fade-out" z-index value still remains -1.

Bug: T214550
Change-Id: Ib1fa53cbb83e995c3c7b0320ba177ea087a8931b
This commit is contained in:
Jan Drewniak 2019-02-19 13:31:15 +01:00 committed by Jdlrobson
parent f6acb0deb7
commit a1d52a1cdd
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ table.ambox {
&:before {
content: '';
position: absolute;
z-index: -1;
z-index: @z-indexBase - 1; // set z-index 1 below the parent element.
bottom: 0;
right: 0;
width: 100%; // width & height defined by length of "learn more".