浏览代码

add style

visuddhinanda 2 年之前
父节点
当前提交
62a3434190
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dashboard/src/components/template/MdView.tsx

+ 1 - 1
dashboard/src/components/template/MdView.tsx

@@ -21,7 +21,7 @@ const MdViewWidget = ({
 }: IWidget) => {
 }: IWidget) => {
   if (html && html.trim() !== "") {
   if (html && html.trim() !== "") {
     return (
     return (
-      <Text className={className}>
+      <Text className={className} style={style}>
         {XmlToReact(gfwClear(html), wordWidget, convertor)}
         {XmlToReact(gfwClear(html), wordWidget, convertor)}
       </Text>
       </Text>
     );
     );