This commit is contained in:
ct
2025-06-17 21:55:06 +08:00
parent f61f95d6d1
commit 7dc9c558e5

View File

@@ -205,7 +205,7 @@ export default function TextSidebar({ isOpen, onClose }) {
rows={4}
style={{
fontFamily: fontFamily,
fontSize: `${fontSize * 0.6}px`, // Cap preview size for readability
fontSize: `${fontSize * 0.45}px`, // Cap preview size for readability
fontWeight: isBold ? 'bold' : 'normal',
fontStyle: isItalic ? 'italic' : 'normal',
color: fillColor,