优化图片预览

This commit is contained in:
2025-05-18 15:38:09 +08:00
parent 95986a8ecf
commit 98f5543865
3 changed files with 24 additions and 1 deletions

View File

@@ -104,6 +104,9 @@ importers:
react-markdown:
specifier: ^10.1.0
version: 10.1.0(@types/react@19.1.2)(react@19.1.0)
react-photo-view:
specifier: ^1.2.7
version: 1.2.7(react-dom@19.1.0(react@19.1.0))(react@19.1.0)
rehype-highlight:
specifier: ^7.0.2
version: 7.0.2
@@ -2729,6 +2732,12 @@ packages:
'@types/react': '>=18'
react: '>=18'
react-photo-view@1.2.7:
resolution: {integrity: sha512-MfOWVPxuibncRLaycZUNxqYU8D9IA+rbGDDaq6GM8RIoGJal592hEJoRAyRSI7ZxyyJNJTLMUWWL3UIXHJJOpw==}
peerDependencies:
react: '>=16.8.0'
react-dom: '>=16.8.0'
react-remove-scroll-bar@2.3.8:
resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}
engines: {node: '>=10'}
@@ -6076,6 +6085,11 @@ snapshots:
transitivePeerDependencies:
- supports-color
react-photo-view@1.2.7(react-dom@19.1.0(react@19.1.0))(react@19.1.0):
dependencies:
react: 19.1.0
react-dom: 19.1.0(react@19.1.0)
react-remove-scroll-bar@2.3.8(@types/react@19.1.2)(react@19.1.0):
dependencies:
react: 19.1.0