Commit c5313acf authored by Jenkins's avatar Jenkins
Browse files

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

parents dc437b51 f874652a
...@@ -15,7 +15,3 @@ ...@@ -15,7 +15,3 @@
#page-admin-tool-task-scheduledtasks .task-clearfaildelay { #page-admin-tool-task-scheduledtasks .task-clearfaildelay {
font-size: 0.75em; font-size: 0.75em;
} }
#page-admin-tool-task-scheduledtasks :target {
scroll-margin-top: 60px;
}
...@@ -6,13 +6,8 @@ $drawer-padding-x: 20px !default; ...@@ -6,13 +6,8 @@ $drawer-padding-x: 20px !default;
$drawer-padding-y: 20px !default; $drawer-padding-y: 20px !default;
$drawer-offscreen-gutter: 20px !default; $drawer-offscreen-gutter: 20px !default;
:target::before { :target {
content: " "; scroll-margin-top: $fixed-header-y + 10px;
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;
} }
.pagelayout-embedded :target { .pagelayout-embedded :target {
......
...@@ -14181,15 +14181,8 @@ span.editinstructions { ...@@ -14181,15 +14181,8 @@ span.editinstructions {
font-size: 100%; } font-size: 100%; }
/* Anchor link offset fix. This makes hash links scroll 60px down to account for the fixed header. */ /* Anchor link offset fix. This makes hash links scroll 60px down to account for the fixed header. */
:target::before { :target {
content: " "; scroll-margin-top: 60px; }
display: block;
height: 60px;
/* fixed header height*/
margin-top: -60px;
/* negative fixed header height */
width: 1px;
pointer-events: none; }
.pagelayout-embedded :target { .pagelayout-embedded :target {
padding-top: initial; padding-top: initial;
......
...@@ -14404,15 +14404,8 @@ span.editinstructions { ...@@ -14404,15 +14404,8 @@ span.editinstructions {
font-size: 100%; } font-size: 100%; }
   
/* Anchor link offset fix. This makes hash links scroll 60px down to account for the fixed header. */ /* Anchor link offset fix. This makes hash links scroll 60px down to account for the fixed header. */
:target::before { :target {
content: " "; scroll-margin-top: 60px; }
display: block;
height: 60px;
/* fixed header height*/
margin-top: -60px;
/* negative fixed header height */
width: 1px;
pointer-events: none; }
   
.pagelayout-embedded :target { .pagelayout-embedded :target {
padding-top: initial; 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