Skip to content

Commit

Permalink
πŸ› [blf] fix buggy design in bigMapMode
Browse files Browse the repository at this point in the history
  • Loading branch information
jxn-30 committed Apr 14, 2023
1 parent 9a03843 commit 4e80adf
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions src/modules/buildingListFilter/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -377,16 +377,25 @@ export default <ModuleMainFunction>(async ({
);
});

extraBtnsGroup.append(searchBtn, search, sortBtn, dcvBtn);

if (fixedFilters) {
fixedWhiteSpace.style.setProperty(
'height',
getComputedStyle(wrapper).height
);
LSSM.$stores.root.hook({
event: 'bigMapWindowSizeChanged',
callback() {
fixedWhiteSpace.style.setProperty(
'height',
getComputedStyle(wrapper).height
);
},
});
} else {
selectGroup.style.setProperty('width', '100%');
}

extraBtnsGroup.append(searchBtn, search, sortBtn, dcvBtn);
window.buildingsVehicleLoadVisible();
};

Expand Down

0 comments on commit 4e80adf

Please sign in to comment.