mirror of
https://github.com/R0m1k3/Socialflow.git
synced 2026-10-11 17:26:45 +02:00
3 files changed
+2
-2
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 58 KiB |
@@ -615,7 +615,7 @@ export default function ImageEditor() {
|
||||
}`}
|
||||
style={{ fontSize: `${priceBadge.size}px` }}
|
||||
>
|
||||
{priceBadge.price}€
|
||||
{priceBadge.price} €
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user