Skip to content

Commit

Permalink
🍍pref:优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
durunsong committed Nov 11, 2024
1 parent 89a4e1d commit 425f44c
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions src/views/function-card/translation-process.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<div class="iframe-container">
<div class="w-full h-screen">
<iframe
:src="url"
frameborder="0"
class="iframe"
class="w-full h-full min-h-[500px]"
title="Embedded Page"
></iframe>
</div>
Expand All @@ -14,16 +14,3 @@ import { ref } from "vue";
const url = ref("https://translation-tools.vercel.app/");
</script>

<style scoped>
.iframe-container {
width: 100%;
height: 100vh;
}
.iframe {
width: 100%;
height: 100%;
min-height: 500px;
}
</style>

0 comments on commit 425f44c

Please sign in to comment.