Merge pull request #103 from R0m1k3/dev

Dev
This commit is contained in:
LogiFlow authored and GitHub committed 2025-11-22 14:58:19 +01:00
commit 7068ea1af3
3 files changed
+2 -2

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

+1 -1
View File
@@ -615,7 +615,7 @@ export default function ImageEditor() {
}`}
style={{ fontSize: `${priceBadge.size}px` }}
>
{priceBadge.price}€
{priceBadge.price} €
</div>
)}
+1 -1
View File
@@ -620,7 +620,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
// Add price badge overlay
if (priceBadge) {
const padding = 16;
const badgeText = `€${priceBadge.price}`;
const badgeText = `${priceBadge.price} €`;
const fontSize = priceBadge.size;
const textWidth = badgeText.length * fontSize * 0.6; // Approximate
const badgeWidth = textWidth + padding * 2;