diff --git a/resources/js/modules/editor/partials/text-sidebar.jsx b/resources/js/modules/editor/partials/text-sidebar.jsx index 4c27067..09980a8 100644 --- a/resources/js/modules/editor/partials/text-sidebar.jsx +++ b/resources/js/modules/editor/partials/text-sidebar.jsx @@ -161,22 +161,40 @@ export default function TextSidebar({ isOpen, onClose }) { value={textValue} onChange={handleTextChange} placeholder="Enter your text..." - className="mt-2 text-center" + className="mt-2 border-2 text-center text-nowrap" rows={4} + style={{ + fontFamily: fontFamily, + fontSize: `${fontSize * 0.45}px`, // Better scaling + fontWeight: isBold ? 'bold' : 'normal', + fontStyle: isItalic ? 'italic' : 'normal', + lineHeight: '1.4', + }} /> + {/* Font Fa + {/* Font Family */}