UX: fix bulk select top positioning (#11888)

This commit is contained in:
Kris 2021-01-28 16:44:54 -05:00 committed by GitHub
parent 598c7d2fcb
commit 0990112d80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View File

@ -9,13 +9,11 @@ export default Component.extend({
this._super(...arguments);
schedule("afterRender", () => {
let mainOutletPadding =
window.getComputedStyle(document.querySelector("#main-outlet"))
.paddingTop || 0;
let headerHeight =
document.querySelector(".d-header-wrap").offsetHeight || 0;
document.querySelector(
".bulk-select-container"
).style.top = mainOutletPadding;
document.querySelector(".bulk-select-container").style.top =
headerHeight + 20 + "px";
});
},

View File

@ -173,7 +173,6 @@
#bulk-select {
position: fixed;
right: 20px;
top: 130px;
background-color: var(--secondary);
z-index: z("dropdown");
@supports (position: sticky) {