diff --git a/templates/cassiopeia/scss/blocks/_footer.scss b/templates/cassiopeia/scss/blocks/_footer.scss index a7605aa6e9531..a8c7e22ba64b6 100644 --- a/templates/cassiopeia/scss/blocks/_footer.scss +++ b/templates/cassiopeia/scss/blocks/_footer.scss @@ -18,10 +18,9 @@ align-self: flex-end; height: 40px; padding: $cassiopeia-grid-gutter/2; + margin-left: auto; color: var(--cassiopeia-color-primary); background: $white; border-radius: $border-radius; - - @include margin("left", auto); } } diff --git a/templates/cassiopeia/scss/template-rtl.scss b/templates/cassiopeia/scss/template-rtl.scss index bb1488d78f79b..400ac4f69797f 100644 --- a/templates/cassiopeia/scss/template-rtl.scss +++ b/templates/cassiopeia/scss/template-rtl.scss @@ -119,4 +119,8 @@ dd { .footer { background-image: $cassiopeia-header-grad-rtl; + .back-top { + margin-right: auto; + margin-left: 0; + } }