diff --git a/frontend/src/components/canvas/utils/style.js b/frontend/src/components/canvas/utils/style.js index 116d37ba14..35fafa9bff 100644 --- a/frontend/src/components/canvas/utils/style.js +++ b/frontend/src/components/canvas/utils/style.js @@ -35,6 +35,9 @@ export function getStyle(style, filter = []) { if (key === 'backgroundColor') { result[key] = colorRgb(style[key], style.opacity) } + if(key=== 'fontSize' && result[key] < 12){ + result[key] = 12 + } if (needUnit.includes(key)) { result[key] += 'px' }