diff --git a/web/pgadmin/static/js/SchemaView/MappedControl.jsx b/web/pgadmin/static/js/SchemaView/MappedControl.jsx index 269e65161..021535d0f 100644 --- a/web/pgadmin/static/js/SchemaView/MappedControl.jsx +++ b/web/pgadmin/static/js/SchemaView/MappedControl.jsx @@ -92,7 +92,7 @@ function MappedFormControlBase({type, value, id, onChange, className, visible, i case 'sql': return ; case 'note': - return ; + return ; default: return {value}; } diff --git a/web/pgadmin/static/js/components/FormComponents.jsx b/web/pgadmin/static/js/components/FormComponents.jsx index 2646add45..e0a9be7c5 100644 --- a/web/pgadmin/static/js/components/FormComponents.jsx +++ b/web/pgadmin/static/js/components/FormComponents.jsx @@ -823,13 +823,15 @@ FormInputColor.propTypes = { testcid: PropTypes.string, }; -export function FormNote({text}) { +export function FormNote({text, className}) { const classes = useStyles(); return ( - - - {HTMLReactParse(text)} - + + + + {HTMLReactParse(text)} + + ); } FormNote.propTypes = {