Skip to content

Commit

Permalink
feat(App.vue): 删除 .max-w-screen-lg 以适配宽屏
Browse files Browse the repository at this point in the history
  • Loading branch information
conglinyizhi committed Aug 18, 2024
1 parent 5e98b64 commit 494a71b
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import {useStore} from "~/store";
import { useStore } from "~/store";
import Main from "~/Main.vue";
const store = useStore()
Expand All @@ -13,10 +13,8 @@ onMounted(async () => {
</script>

<template>
<div class="mx-auto w-full max-w-screen-lg h-full">
<el-watermark :content="testMode ? '仅用于展示,修改无效' : ''"
:font="{fontSize: 24}"
:gap="[100, 32]">
<div class="mx-auto w-full h-full">
<el-watermark :content="testMode ? '仅用于展示,修改无效' : ''" :font="{ fontSize: 24 }" :gap="[100, 32]">
<Main />
</el-watermark>
</div>
Expand Down

0 comments on commit 494a71b

Please sign in to comment.