fix: 混合模式样式完善
Former-commit-id: e75ca92650f09791eae18325bf2da11f9a216fab
This commit is contained in:
21
src/views/demo/internal-doc.vue
Normal file
21
src/views/demo/internal-doc.vue
Normal file
@@ -0,0 +1,21 @@
|
||||
<script setup lang="ts"></script>
|
||||
<template>
|
||||
<div class="iframe-wrap">
|
||||
<iframe
|
||||
src="https://juejin.cn/post/7228990409909108793"
|
||||
frameborder="0"
|
||||
></iframe>
|
||||
</div>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
.iframe-wrap {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
width: 100%;
|
||||
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user