fix Spezialisierungs Dialog Styling

This commit is contained in:
Byroks committed 2026-10-25 09:39:14 +01:00
1 parent 5da7534d91
commit 7059ec5cb2
2 files changed
+4 -4

No files matched your search

@@ -11,7 +11,6 @@ export async function addSpezialisierung(event, target) {
const templatePath = systemPath("templates/dialog/spezialisierung-dialog.hbs"); const templatePath = systemPath("templates/dialog/spezialisierung-dialog.hbs");
const templateData = { const templateData = {
classes: ["M6", "dialog"],
level level
}; };
const content = await foundry.applications.handlebars.renderTemplate(templatePath, templateData); 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}`) game.i18n.localize(`Midgard6.Skills.${name}`)
}, },
classes: ["M6", "dialog"],
position: { position: {
width: 600 width: 600
}, },
@@ -70,7 +70,6 @@ export async function editSepzialisierung(event, target) {
const templatePath = systemPath("templates/dialog/spezialisierung-dialog.hbs"); const templatePath = systemPath("templates/dialog/spezialisierung-dialog.hbs");
const templateData = { const templateData = {
classes: ["M6", "dialog"],
spezName, spezName,
level level
}; };
@@ -83,6 +82,7 @@ export async function editSepzialisierung(event, target) {
" " + " " +
game.i18n.localize(path.replace(/^.*\.(?=[^.]+$)/g, "Midgard6.Skills.")) game.i18n.localize(path.replace(/^.*\.(?=[^.]+$)/g, "Midgard6.Skills."))
}, },
classes: ["M6", "dialog"],
position: { position: {
width: 600 width: 600
}, },
+2 -2
View File
@@ -13,8 +13,8 @@ export class M6ItemSheet extends api.HandlebarsApplicationMixin(sheets.ItemSheet
resizable: true resizable: true
}, },
position: { position: {
width: 600, width: 650,
height: 400 height: 450
}, },
classes: ["M6", "item", "standard-form"], classes: ["M6", "item", "standard-form"],
actions: { actions: {