diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index 2bfa166876b95..cc1ed116c97b1 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -48,13 +48,7 @@ $gototop-bottom-position: 50px !default; opacity: 0; transition: opacity .7s ease 0s, visibility .1s ease .8s; display: block; - position: fixed; /* IE compatibility hack */ - @supports (position: sticky) { - position: sticky; - } - @supports (-ms-ime-align:auto) { - position: fixed; /* Edge compatibility hack */ - } + position: fixed; bottom: $gototop-bottom-position; right: 0; a { diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 5dda75a93fa62..094f88a63658f 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -9663,16 +9663,8 @@ input[disabled] { transition: opacity .7s ease 0s, visibility .1s ease .8s; display: block; position: fixed; - /* IE compatibility hack */ bottom: 50px; right: 0; } - @supports (position: sticky) { - #goto-top-link { - position: sticky; } } - @supports (-ms-ime-align: auto) { - #goto-top-link { - position: fixed; - /* Edge compatibility hack */ } } #goto-top-link a { position: absolute; right: 0; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index ab07c5f1a5dcc..42e504b4211f4 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -9868,16 +9868,8 @@ input[disabled] { transition: opacity .7s ease 0s, visibility .1s ease .8s; display: block; position: fixed; - /* IE compatibility hack */ bottom: 50px; right: 0; } - @supports (position: sticky) { - #goto-top-link { - position: sticky; } } - @supports (-ms-ime-align: auto) { - #goto-top-link { - position: fixed; - /* Edge compatibility hack */ } } #goto-top-link a { position: absolute; right: 0;