Skip to content

Commit

Permalink
fix: 文档层级不对造成的遮挡
Browse files Browse the repository at this point in the history
  • Loading branch information
yatessss committed Jan 10, 2024
1 parent 956fbb5 commit 777ee6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/plugin-tdoc/md-to-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function mdToReact(options) {
<div style={isShow('demo')} name="DEMO">
${mdSegment.demoMd.replace(/class=/g, 'className=')}
<td-doc-phone ref={tdDocPhone}>
<td-doc-phone ref={tdDocPhone} style={{position: 'relative', zIndex: 999}}>
<iframe src="${
mdSegment.mobileUrl
}" frameBorder="0" width="100%" height="100%" style={{ borderRadius: '0 0 6px 6px' }}></iframe>
Expand Down

0 comments on commit 777ee6b

Please sign in to comment.