Add spacing between settings in the submenus (closes #16)

This commit is contained in:
Oliver 2025-12-09 19:59:47 -07:00
parent 03330973d7
commit c946642873
3 changed files with 12 additions and 1 deletions

View file

@ -1,4 +1,4 @@
import { filePath } from "../consts.mjs";
import { __ID__, filePath } from "../consts.mjs";
const { HandlebarsApplicationMixin: HAM, ApplicationV2 } = foundry.applications.api;
@ -7,6 +7,7 @@ export class OFTSettingsMenu extends HAM(ApplicationV2) {
// #region Options
static DEFAULT_OPTIONS = {
tag: `form`,
classes: [ __ID__ ],
window: {
icon: `fa-solid fa-gears`,
resizable: true,

8
styles/apps.css Normal file
View file

@ -0,0 +1,8 @@
.application.oft {
> .window-content.standard-form .setting-list {
flex-grow: 1;
display: flex;
flex-direction: column;
gap: 1rem;
}
}

View file

@ -3,5 +3,7 @@
@import url("./hotbarButtonSize.css");
@import url("./repositionHotbar.css");
@import url("./apps.css");
/* Make the chat sidebar the same width as all the other tabs */
.chat-sidebar:not(.sidebar-popout) { width: unset; }