Fix TOC fadeout proper
Bug: T302076 Change-Id: I247a1a92e6eaa3413053514866966393ff3c1964
This commit is contained in:
parent
94d9445ba3
commit
a0b1b5b056
|
@ -79,17 +79,17 @@
|
|||
}
|
||||
|
||||
// T302076 Add scrollable indicator as fade
|
||||
.mw-table-of-contents-container:after {
|
||||
.sidebar-toc:after {
|
||||
content: '';
|
||||
display: block;
|
||||
position: relative;
|
||||
bottom: @fade-height;
|
||||
position: absolute;
|
||||
bottom: @border-width-base;
|
||||
left: 0;
|
||||
right: 0;
|
||||
height: @fade-height;
|
||||
background: linear-gradient( rgba( 255, 255, 255, 0 ), @border-color-sidebar );
|
||||
pointer-events: none; // Make the link below the fade clickable
|
||||
border: @border-base;
|
||||
border-top: 0;
|
||||
margin: 0 @border-width-base;
|
||||
}
|
||||
|
||||
// Highlight active section
|
||||
|
|
Loading…
Reference in New Issue