diff --git a/apps/dashboard/src/components/EditorToolbar.tsx b/apps/dashboard/src/components/EditorToolbar.tsx index 88feeec..e11fe6f 100644 --- a/apps/dashboard/src/components/EditorToolbar.tsx +++ b/apps/dashboard/src/components/EditorToolbar.tsx @@ -39,6 +39,7 @@ export function EditorToolbar() { fontFamily: 'Inter', fontWeight: 400, lineHeight: 1, + letterSpacing: 0, fontSize: 50, align: 'left', }}> @@ -99,6 +100,7 @@ export function EditorToolbar() { fontFamily: 'Inter', fontWeight: 400, lineHeight: 1, + letterSpacing: 0, fontSize: 50, align: 'left', }}> diff --git a/apps/dashboard/src/components/RightPanel/FontSection.tsx b/apps/dashboard/src/components/RightPanel/FontSection.tsx index 8169533..ec29a12 100644 --- a/apps/dashboard/src/components/RightPanel/FontSection.tsx +++ b/apps/dashboard/src/components/RightPanel/FontSection.tsx @@ -70,7 +70,12 @@ export function FontSection({ selectedElement }: FontSectionProps) { }} type="number" value={selectedElement.lineHeight}> - { updateElement(selectedElement); }} type="number" value={0}> + { + updateElement({ + ...selectedElement, + letterSpacing: value, + }); + }} type="number" value={selectedElement.letterSpacing}>