Merge branch 'MDL-81110-main' of https://github.com/roland04/moodle

This commit is contained in:
Jun Pataleta 2024-03-20 11:10:25 +08:00
commit 20a7f5a180
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7
4 changed files with 9 additions and 6 deletions

View File

@ -393,7 +393,7 @@ img.activityicon {
#maincontent { #maincontent {
display: block; display: block;
height: 1px; height: 1px;
overflow: hidden; overflow: clip;
} }
img.uihint { img.uihint {

View File

@ -11,7 +11,8 @@ $drawer-bg-color: $gray-100 !default;
$drawer-scroll-bg-track: $gray-100 !default; $drawer-scroll-bg-track: $gray-100 !default;
$drawer-shadow-color: rgba(0, 0, 0, .25) !default; $drawer-shadow-color: rgba(0, 0, 0, .25) !default;
:target { :target,
:focus {
scroll-margin-top: $fixed-header-y + 10px; scroll-margin-top: $fixed-header-y + 10px;
} }

View File

@ -23282,7 +23282,7 @@ img.activityicon {
#maincontent { #maincontent {
display: block; display: block;
height: 1px; height: 1px;
overflow: hidden; overflow: clip;
} }
img.uihint { img.uihint {
@ -29756,7 +29756,8 @@ span.editinstructions .alert-link {
} }
/* 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 { :target,
:focus {
scroll-margin-top: 70px; scroll-margin-top: 70px;
} }

View File

@ -23282,7 +23282,7 @@ img.activityicon {
#maincontent { #maincontent {
display: block; display: block;
height: 1px; height: 1px;
overflow: hidden; overflow: clip;
} }
img.uihint { img.uihint {
@ -29756,7 +29756,8 @@ span.editinstructions .alert-link {
} }
/* 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 { :target,
:focus {
scroll-margin-top: 60px; scroll-margin-top: 60px;
} }