Skip to content

Commit

Permalink
fix(editor): overflow in html presets
Browse files Browse the repository at this point in the history
  • Loading branch information
Novout committed May 5, 2022
1 parent 339f5aa commit b36d985
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/better-write-app/src/pages/Landing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
</button>
</div>
<a
v-if="env.isDev()"
v-motion
:initial="{ opacity: 0 }"
:enter="{ opacity: 1, transition: { delay: 500 } }"
Expand Down Expand Up @@ -129,12 +128,10 @@
import { useWebGL } from '@/use/webgl'
import { useI18n } from 'vue-i18n'
import { watch } from 'vue'
import { useEnv } from '@/use/env'
const { version, onClick, isNecessaryLogin } = useLanding()
const { t } = useI18n()
const webgl = useWebGL()
const env = useEnv()
webgl.init()
Expand Down
4 changes: 4 additions & 0 deletions packages/better-write-plugin-theme/css/preset.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
-webkit-font-smoothing: antialiased;
}

html {
overflow: hidden;
}

#app {
min-height: 100vh;
width: 100%;
Expand Down

0 comments on commit b36d985

Please sign in to comment.