Skip to content

Commit

Permalink
Fixed overlapping of the back to top button
Browse files Browse the repository at this point in the history
  • Loading branch information
prasanna-lmsace committed Sep 16, 2023
1 parent 92f6418 commit ca5c372
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions scss/boost_union/post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@
/* On larger screens. */
@include media-breakpoint-up(sm) {
bottom: calc(60px + 4rem);
right: 3rem;
}
}
}
Expand Down Expand Up @@ -2048,10 +2049,35 @@ so the dropdown menu won't hide behind the screen on responsive */
@include media-breakpoint-down(sm) {
/* Move the learning tools floating button up as soon as the bottom menu is shown. */
#page.footer-bottom-menu .learningtools-action-info .floating-button {
right: 25px;
bottom: 4rem;
}
}

/* Back to top button position */
@include media-breakpoint-down(sm) {
/* Move the back to top button when learning tools floating button and as soon as the bottom menu is shown. */
#page-wrapper #page.footer-bottom-menu .learningtools-action-info ~ #back-to-top {
right: 3rem;
}
.theme-boost-union-smartmenu #page-wrapper #page.footer-bottom-menu .learningtools-action-info ~ .btn-footer-popover {
right: 5rem;
}
}

/* Move the back to top button when learning tools floating button and as soon as the bottom menu is shown. */
@include media-breakpoint-down(xs) {
#page-wrapper #page {
.learningtools-action-info ~ #back-to-top {
bottom: 5rem;
}
&.footer-bottom-menu .learningtools-action-info ~ #back-to-top {
bottom: 8rem;
}
}
}



/*---------------------------------------
* Dash Pro
Expand Down

0 comments on commit ca5c372

Please sign in to comment.