From a1d52a1cdd3180cca8c1d7e201d4f7a4dd8ba475 Mon Sep 17 00:00:00 2001 From: Jan Drewniak Date: Tue, 19 Feb 2019 13:31:15 +0100 Subject: [PATCH] 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 --- resources/skins.minerva.content.styles/templates/ambox.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/skins.minerva.content.styles/templates/ambox.less b/resources/skins.minerva.content.styles/templates/ambox.less index 4714ca6..59623ec 100644 --- a/resources/skins.minerva.content.styles/templates/ambox.less +++ b/resources/skins.minerva.content.styles/templates/ambox.less @@ -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".