Client: PortalSettings: WhiteLabel: fix

This commit is contained in:
Viktor Fomin 2022-11-18 14:47:07 +05:00
parent 6274f99540
commit dabf301a6d
2 changed files with 2 additions and 1 deletions

View File

@ -122,6 +122,7 @@ const WhiteLabel = (props) => {
scale={true}
isAutoFocussed={true}
tabIndex={1}
maxLength={30}
/>
<Button
id="btnUseAsLogo"

View File

@ -8,7 +8,7 @@ export const generateLogo = (width, height, text, fill = "#000") => {
ctx.fillStyle = fill;
ctx.textAlign = "start";
ctx.textBaseline = "top";
ctx.font = `${height}px Arial`;
ctx.font = `18px Arial`;
ctx.fillText(text, 0, 0);
return canvas.toDataURL();
};