FEAT: filter menu style

This commit is contained in:
Joaquin Pereyra 2025-07-02 17:06:53 -03:00
parent 4e7c46bb3d
commit 1679504275
5 changed files with 90 additions and 2 deletions

View file

@ -96,10 +96,10 @@ export default class FilterMenu extends foundry.applications.ux.ContextMenu {
* @returns {HTMLDivElement} The section DOM element containing the label and buttons.
*/
#createSection(groupName, items) {
const section = document.createElement("div");
const section = document.createElement("fieldset");
section.className = "filter-section";
const header = document.createElement("label");
const header = document.createElement("legend");
header.textContent = groupName;
section.appendChild(header);