cevi / logo-generator

A logo-generator for your own Cevi-Logo.
GNU General Public License v3.0
6 stars 0 forks source link

Logo with a very short claim gets cut off #16

Closed wp99cp closed 2 years ago

wp99cp commented 2 years ago

If you try to create a logo with a very short claim, e.g. "GLK1" (left) and "2022" (right) the logo gets cut off. It seems that the width of the created image depends on the claim-width instead of the max (claim-with, logoBoxWidth).

Probably somewhere here: https://github.com/cevi/logo-generator/blob/413200ed9897148604ae8dad672a75a16af6b207/src/js/Components/Logo/index.js#L110

image

btemperli commented 2 years ago

Thank you @wp99cp for reporting this bug.

It should be fixed now: logo.cevi.ch

Can you please check it and close the ticket?

wp99cp commented 2 years ago

Thank you @wp99cp for reporting this bug.

It should be fixed now: logo.cevi.ch

Can you please check it and close the ticket?

Thank's, tested it and it seems to work!