visuddhinanda 2 лет назад
Родитель
Сommit
7691979d8f

+ 3 - 3
dashboard/src/components/template/Nissaya.tsx

@@ -9,16 +9,16 @@ interface IWidgetNissayaCtl {
 }
 const NissayaCtl = ({ pali, meaning, children }: IWidgetNissayaCtl) => {
   return (
-    <Space style={{ marginRight: 10 }}>
+    <span style={{ marginRight: 10 }}>
       <PaliText
         lookup={true}
         text={pali}
         code="my"
         termToLocal={false}
         style={{ fontWeight: 700 }}
-      />
+      />{" "}
       <NissayaMeaning text={meaning} />
-    </Space>
+    </span>
   );
 };
 

+ 3 - 3
dashboard/src/components/template/Nissaya/NissayaMeaning.tsx

@@ -52,18 +52,18 @@ const NissayaMeaningWidget = ({ text, code = "my" }: IWidget) => {
     return <></>;
   }
   return (
-    <Space>
+    <span>
       {words?.map((item, id) => {
         return (
           <span key={id}>
             <Lookup search={item.base}>{item.base}</Lookup>
             {item.ending?.map((item, id) => {
               return <NissayaCardPop text={item} key={id} trigger={item} />;
-            })}
+            })}{" "}
           </span>
         );
       })}
-    </Space>
+    </span>
   );
 };