patches v1.3.3 #75

Merged
jkeffects merged 12 commits from develop into main 2025-03-21 09:48:02 +00:00
Showing only changes of commit 1de826c9e2 - Show all commits

View file

@ -42,10 +42,11 @@
<div class="flex flex-row gap-2 items-center"> <div class="flex flex-row gap-2 items-center">
<p class="whitespace-nowrap">Höhe [mm]:</p> <p class="whitespace-nowrap">Höhe [mm]:</p>
<input <input
ref="headerHeight"
id="headerHeight" id="headerHeight"
type="number" type="number"
:min="15" :min="15"
v-model="templateUsage.headerHeight" :value="templateUsage.headerHeight"
class="!w-24" class="!w-24"
placeholder="15" placeholder="15"
/> />
@ -71,10 +72,11 @@
<div class="flex flex-row gap-2 items-center"> <div class="flex flex-row gap-2 items-center">
<p class="whitespace-nowrap">Höhe [mm]:</p> <p class="whitespace-nowrap">Höhe [mm]:</p>
<input <input
ref="footerHeight"
id="footerHeight" id="footerHeight"
type="number" type="number"
:min="15" :min="15"
v-model="templateUsage.footerHeight" :value="templateUsage.footerHeight"
class="!w-24" class="!w-24"
placeholder="15" placeholder="15"
/> />
@ -160,6 +162,8 @@ export default defineComponent({
(this.$refs.header as HTMLSelectElement).value = String(this.templateUsage.header?.id ?? "def"); (this.$refs.header as HTMLSelectElement).value = String(this.templateUsage.header?.id ?? "def");
(this.$refs.body as HTMLSelectElement).value = String(this.templateUsage.body?.id ?? "def"); (this.$refs.body as HTMLSelectElement).value = String(this.templateUsage.body?.id ?? "def");
(this.$refs.footer as HTMLSelectElement).value = String(this.templateUsage.footer?.id ?? "def"); (this.$refs.footer as HTMLSelectElement).value = String(this.templateUsage.footer?.id ?? "def");
(this.$refs.headerHeight as HTMLInputElement).value = (this.templateUsage.headerHeight ?? "").toString();
(this.$refs.footerHeight as HTMLInputElement).value = (this.templateUsage.footerHeight ?? "").toString();
}, },
}, },
}); });