mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-08 06:56:12 +01:00
FEAT: filter menu style
This commit is contained in:
parent
4e7c46bb3d
commit
1679504275
5 changed files with 90 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue