File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 6767 &-body {
6868 .box ;
6969 overflow : hidden ;
70- display : flex ;
71- justify-content : center ;
72- align-items : center ;
7370 }
7471
7572 & .zoom-enter ,
104101 max-height : 100% ;
105102 pointer-events : auto ;
106103 &-wrapper {
107- pointer-events : auto ;
104+ .box ;
105+ & ::before {
106+ content : ' ' ;
107+ display : inline-block ;
108+ height : 50% ;
109+ width : 1px ;
110+ margin-right : -1px ;
111+ }
108112 }
109113 }
110114
Original file line number Diff line number Diff line change 11import Image from 'rc-image' ;
2+ import React from 'react' ;
23import '../../assets/index.less' ;
34
45export default function imageRender ( ) {
@@ -11,6 +12,8 @@ export default function imageRender() {
1112 toolbarRender : ( ) => null ,
1213 imageRender : ( ) => (
1314 < video
15+ muted
16+ style = { { pointerEvents : 'auto' } }
1417 width = "100%"
1518 controls
1619 src = "https://mdn.alipayobjects.com/huamei_iwk9zp/afts/file/A*uYT7SZwhJnUAAAAAAAAAAAAADgCCAQ"
You can’t perform that action at this time.
0 commit comments