mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: don't apply extraClassName to all popup menus (#24695)
This commit is contained in:
@@ -773,6 +773,7 @@ export default createWidget("post-menu", {
|
|||||||
this.menu.show(event.target, {
|
this.menu.show(event.target, {
|
||||||
identifier: "admin-post-menu",
|
identifier: "admin-post-menu",
|
||||||
component: AdminPostMenu,
|
component: AdminPostMenu,
|
||||||
|
extraClassName: "popup-menu",
|
||||||
data: {
|
data: {
|
||||||
scheduleRerender: this.scheduleRerender.bind(this),
|
scheduleRerender: this.scheduleRerender.bind(this),
|
||||||
transformedPost: this.attrs,
|
transformedPost: this.attrs,
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export const MENU = {
|
|||||||
fallbackPlacements: FLOAT_UI_PLACEMENTS,
|
fallbackPlacements: FLOAT_UI_PLACEMENTS,
|
||||||
autoUpdate: true,
|
autoUpdate: true,
|
||||||
trapTab: true,
|
trapTab: true,
|
||||||
extraClassName: "popup-menu",
|
extraClassName: null,
|
||||||
},
|
},
|
||||||
portalOutletId: "d-menu-portal-outlet",
|
portalOutletId: "d-menu-portal-outlet",
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user