Browse Source

修改按钮移到词头前面

visuddhinanda 2 years ago
parent
commit
30db6a1e79

+ 2 - 1
dashboard/src/components/template/Wbw/WbwPali.tsx

@@ -320,7 +320,7 @@ const WbwPaliWidget = ({
           ) : (
             <></>
           )}
-          {mode === "edit" ? paliWord : ""}
+
           <Popover
             content={wbwDialog}
             placement={toDivRight > 200 ? "bottom" : "bottomRight"}
@@ -347,6 +347,7 @@ const WbwPaliWidget = ({
               )}
             </span>
           </Popover>
+          {mode === "edit" ? paliWord : ""}
         </span>
         <Space>
           <VideoIcon attachments={data.attachments} />

+ 1 - 0
dashboard/src/components/template/Wbw/wbw.css

@@ -100,6 +100,7 @@
   position: absolute;
   border: 1px solid gray;
   background-color: wheat;
+  margin-top: -1.2em;
 }
 .pali_shell:hover .edit_icon {
   display: inline-block;