Skip to content

Commit

Permalink
fix: safari滚动问题
Browse files Browse the repository at this point in the history
  • Loading branch information
JeromeD3 committed Feb 20, 2023
1 parent 855f5a9 commit 8a717c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -401,3 +401,6 @@ html.dark {
.markdown-body h6 {
font-weight: bold;
}
.markdown-body pre{
margin:16px 0;
}
3 changes: 3 additions & 0 deletions frontend/pages/article/[id].vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,11 @@ onMounted(() => {
@media (max-width: 1320px) and (min-width: 1140px) {
.view-container {
width: 1320px;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
}
}
.main-area {
padding-left: 2.67rem;
padding-right: 2.67rem;
Expand Down

0 comments on commit 8a717c0

Please sign in to comment.