diff --git a/src/components/md-deck/CardPreview.tsx b/src/components/md-deck/CardPreview.tsx
index 5f9f2d7..c58fdea 100644
--- a/src/components/md-deck/CardPreview.tsx
+++ b/src/components/md-deck/CardPreview.tsx
@@ -99,7 +99,10 @@ export function CardPreview(props: CardPreviewProps) {
class={`absolute flex items-center justify-center text-center prose prose-sm ${
store.state.isEditing ? 'bg-blue-500/20 ring-2 ring-blue-500' : ''
}`}
- style={style}
+ style={{
+ ...style,
+ 'font-size': `${store.state.dimensions?.fontSize}mm`
+ }}
innerHTML={renderLayerContent(layer, currentCard())}
/>
);
diff --git a/src/components/md-deck/editor-panel/PropertiesEditorPanel.tsx b/src/components/md-deck/editor-panel/PropertiesEditorPanel.tsx
index d742471..177b62b 100644
--- a/src/components/md-deck/editor-panel/PropertiesEditorPanel.tsx
+++ b/src/components/md-deck/editor-panel/PropertiesEditorPanel.tsx
@@ -18,21 +18,51 @@ export function PropertiesEditorPanel(props: PropertiesEditorPanelProps) {
+
+
+
store.actions.setGrid(e.target.value)}
+ value={store.state.fontSize}
+ onChange={(e) => store.actions.setFontSize(Number(e.target.value))}
/>
@@ -70,7 +100,7 @@ export function PropertiesEditorPanel(props: PropertiesEditorPanelProps) {
/>
{layer.prop}