Skip to content

Commit bd68ed6

Browse files
authored
fix: antd image (#1960)
* fix: image show * chore: Upgraded ant to latest
1 parent 2d59854 commit bd68ed6

File tree

3 files changed

+268
-175
lines changed

3 files changed

+268
-175
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@docusaurus/theme-mermaid": "^3.7.0",
4141
"@mdx-js/react": "^3.0.0",
4242
"ahooks": "^3.8.0",
43-
"antd": "^5.19.2",
43+
"antd": "^5.24.8",
4444
"axios": "^1.7.2",
4545
"clsx": "^2.0.0",
4646
"copyforjs": "^1.0.6",

src/theme/DocRoot/Layout/Main/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export default function DocRootLayoutMain({
3030
)}
3131
>
3232
<div
33+
onClick={getImgElement}
3334
className={clsx(
3435
"container padding-top--md padding-bottom--lg",
3536
styles.docItemWrapper,

0 commit comments

Comments
 (0)