Skip to content

Commit 362cc83

Browse files
authored
Merge pull request #92 from devforth/fix-three-dot-menu-placement
fix: change three dots menu placement
2 parents dca26f4 + dd1771f commit 362cc83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adminforth/spa/src/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ export function initThreeDotsDropdown() {
116116
// this resource has three dots dropdown
117117
const dd = new Dropdown(
118118
threeDotsDropdown,
119-
document.querySelector('[data-dropdown-toggle="listThreeDotsDropdown"]') as HTMLElement,
119+
document.querySelector('[data-dropdown-toggle="listThreeDotsDropdown"]') as HTMLElement,
120+
{ placement: 'bottom-end' }
120121
);
121122
adminforth.list.closeThreeDotsDropdown = () => {
122123
dd.hide();

0 commit comments

Comments
 (0)