Commit 31f2ebc2 authored by Jenkins's avatar Jenkins
Browse files

Merge branch 'MDL-71152-39' of git://github.com/roland04/moodle into MOODLE_39_STABLE_precheck

parents a2fe75a2 cf31096a
......@@ -6,13 +6,8 @@ $drawer-padding-x: 20px !default;
$drawer-padding-y: 20px !default;
$drawer-offscreen-gutter: 20px !default;
:target::before {
content: " ";
display: block;
height: ($fixed-header-y + 10px); /* fixed header height*/
margin-top: -($fixed-header-y + 10px); /* negative fixed header height */
width: 1px;
pointer-events: none;
:target {
scroll-margin-top: $fixed-header-y + 10px;
}
.pagelayout-embedded :target {
......
......@@ -14031,15 +14031,8 @@ span.editinstructions {
white-space: pre-wrap; }
/* Anchor link offset fix. This makes hash links scroll 60px down to account for the fixed header. */
:target::before {
content: " ";
display: block;
height: 60px;
/* fixed header height*/
margin-top: -60px;
/* negative fixed header height */
width: 1px;
pointer-events: none; }
:target {
scroll-margin-top: 60px; }
.pagelayout-embedded :target {
padding-top: initial;
......
......@@ -14247,15 +14247,8 @@ span.editinstructions {
white-space: pre-wrap; }
/* Anchor link offset fix. This makes hash links scroll 60px down to account for the fixed header. */
:target::before {
content: " ";
display: block;
height: 60px;
/* fixed header height*/
margin-top: -60px;
/* negative fixed header height */
width: 1px;
pointer-events: none; }
:target {
scroll-margin-top: 60px; }
.pagelayout-embedded :target {
padding-top: initial;
......
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