feat: 初始化样式与tui-image-editor之间样式兼容处理

master
LCJ-MinYa 8 months ago
parent 75e9dd2c51
commit 93562cd7e0

@ -192,15 +192,15 @@ button,
cursor: default; cursor: default;
} }
// svg, svg,
// video, video,
// canvas, canvas,
// audio, audio,
// iframe, iframe,
// embed, embed,
// object { object {
// display: block; display: block;
// } }
img, img,
video { video {

@ -58,7 +58,7 @@ const initTuiImageEditor = () => {
}; };
</script> </script>
<style lang="scss"> <style lang="scss" scoped>
.tui-image-editor-wrap { .tui-image-editor-wrap {
position: fixed; position: fixed;
top: 0; top: 0;
@ -75,3 +75,8 @@ const initTuiImageEditor = () => {
} }
} }
</style> </style>
<style lang="scss">
body > svg:last-of-type {
display: none;
}
</style>

Loading…
Cancel
Save