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

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

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

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

Loading…
Cancel
Save