MDL-66463 theme_boost: IE and Edge go to top link compatibility

This commit is contained in:
Ferran Recio 2020-02-05 10:41:00 +01:00
parent 1b5630a01f
commit 303df89df6
3 changed files with 16 additions and 3 deletions

View File

@ -37,8 +37,11 @@ $gototop-bottom-position: 50px !default;
@supports (position: sticky) {
position: sticky;
}
@supports (-ms-ime-align:auto) {
position: fixed; /* Edge compatibility hack */
}
bottom: $gototop-bottom-position;
right: 0;
a {
position: absolute;
right: 0;

View File

@ -9420,10 +9420,15 @@ input[disabled] {
display: block;
position: fixed;
/* IE compatibility hack */
bottom: 50px; }
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;

View File

@ -9625,10 +9625,15 @@ input[disabled] {
display: block;
position: fixed;
/* IE compatibility hack */
bottom: 50px; }
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;