Răsfoiți Sursa

图片宽度自适应

visuddhinanda 2 ani în urmă
părinte
comite
6516abe0cd
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      dashboard/src/components/dict/WordCardByDict.tsx

+ 2 - 1
dashboard/src/components/dict/WordCardByDict.tsx

@@ -4,6 +4,7 @@ import { InfoCircleOutlined } from "@ant-design/icons";
 
 
 import Marked from "../general/Marked";
 import Marked from "../general/Marked";
 import MdView from "../template/MdView";
 import MdView from "../template/MdView";
+import "./style.css";
 
 
 const { Title } = Typography;
 const { Title } = Typography;
 
 
@@ -34,7 +35,7 @@ const WordCardByDictWidget = (prop: IWidgetWordCardByDict) => {
           </Popover>
           </Popover>
         ) : undefined}
         ) : undefined}
       </Space>
       </Space>
-      <div>
+      <div className="dict_content">
         <MdView html={prop.data.note} />
         <MdView html={prop.data.note} />
       </div>
       </div>
     </Card>
     </Card>