Skip to content

Commit

Permalink
fix: 修复在手机上会出现横向滚动条的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
LSX-s-Software committed Aug 24, 2023
1 parent ec0714f commit 46dfeb9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ import 'vue-m-message/dist/style.css';
<style lang="less" scoped>
.container {
min-height: 100vh;
min-width: 100vw;
width: 100vw;
box-sizing: border-box;
padding: 0 40px;
display: flex;
justify-content: center;
align-items: center;
Expand Down
1 change: 0 additions & 1 deletion layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
</template>
<style scoped lang="less">
.container {
padding: 0 40px;
box-sizing: border-box;
}
Expand Down

0 comments on commit 46dfeb9

Please sign in to comment.