Update spells structure + minor changes
This commit is contained in:
@@ -16,7 +16,7 @@ export class Avd12ItemSheet extends ItemSheet {
|
||||
template: "systems/fvtt-avd12/templates/item-sheet.hbs",
|
||||
dragDrop: [{ dragSelector: null, dropSelector: null }],
|
||||
width: 620,
|
||||
height: 550,
|
||||
height: 'fit-content',
|
||||
tabs: [{ navSelector: ".sheet-tabs", contentSelector: ".sheet-body", initial: "description" }]
|
||||
});
|
||||
}
|
||||
|
@@ -5,7 +5,7 @@ export class Avd12RollDialog extends Dialog {
|
||||
/* -------------------------------------------- */
|
||||
static async create(actor, rollData) {
|
||||
|
||||
let options = { classes: ["Avd12Dialog"], width: 540, height: 340, 'z-index': 99999 };
|
||||
let options = { classes: ["Avd12Dialog"], width: 540, height: 'fit-content', 'z-index': 99999 };
|
||||
let html = await renderTemplate('systems/fvtt-avd12/templates/dialogs/roll-dialog-generic.html', rollData);
|
||||
|
||||
return new CrucibleRollDialog(actor, rollData, html, options);
|
||||
|
@@ -152,12 +152,14 @@ export class Avd12Utility {
|
||||
'systems/fvtt-avd12/templates/items/partial-item-nav.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-item-description.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-common-item-fields.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-damage-types.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-weapon-types.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-weapon-categories.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-attributes.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-equipment-types.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-spell-types.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-spell-levels.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-spell-schools.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-focus-bond.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-focus-treatment.hbs',
|
||||
'systems/fvtt-avd12/templates/items/partial-options-focus-core.hbs',
|
||||
|
Reference in New Issue
Block a user