From 7059ec5cb275d13c79c624a178ca1d73c9e24eee Mon Sep 17 00:00:00 2001 From: Byroks Date: Sun, 25 Oct 2026 09:39:14 +0100 Subject: [PATCH] fix Spezialisierungs Dialog Styling --- src/sheets/components/spezialisierung-actions.mjs | 4 ++-- src/sheets/item-sheet.mjs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/sheets/components/spezialisierung-actions.mjs b/src/sheets/components/spezialisierung-actions.mjs index 19775ce..694d7bf 100644 --- a/src/sheets/components/spezialisierung-actions.mjs +++ b/src/sheets/components/spezialisierung-actions.mjs @@ -11,7 +11,6 @@ export async function addSpezialisierung(event, target) { const templatePath = systemPath("templates/dialog/spezialisierung-dialog.hbs"); const templateData = { - classes: ["M6", "dialog"], level }; const content = await foundry.applications.handlebars.renderTemplate(templatePath, templateData); @@ -22,6 +21,7 @@ export async function addSpezialisierung(event, target) { " " + game.i18n.localize(`Midgard6.Skills.${name}`) }, + classes: ["M6", "dialog"], position: { width: 600 }, @@ -70,7 +70,6 @@ export async function editSepzialisierung(event, target) { const templatePath = systemPath("templates/dialog/spezialisierung-dialog.hbs"); const templateData = { - classes: ["M6", "dialog"], spezName, level }; @@ -83,6 +82,7 @@ export async function editSepzialisierung(event, target) { " " + game.i18n.localize(path.replace(/^.*\.(?=[^.]+$)/g, "Midgard6.Skills.")) }, + classes: ["M6", "dialog"], position: { width: 600 }, diff --git a/src/sheets/item-sheet.mjs b/src/sheets/item-sheet.mjs index 81ebd72..213dd17 100644 --- a/src/sheets/item-sheet.mjs +++ b/src/sheets/item-sheet.mjs @@ -13,8 +13,8 @@ export class M6ItemSheet extends api.HandlebarsApplicationMixin(sheets.ItemSheet resizable: true }, position: { - width: 600, - height: 400 + width: 650, + height: 450 }, classes: ["M6", "item", "standard-form"], actions: {