Commit ac098a44 authored by Jenkins's avatar Jenkins
Browse files

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

parents 0a21811e 46225f32
......@@ -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 {
......
......@@ -14174,15 +14174,8 @@ span.editinstructions {
font-size: 100%; }
/* 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;
......
......@@ -14397,15 +14397,8 @@ span.editinstructions {
font-size: 100%; }
/* 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