diff --git a/src/views/t-anno.vue b/src/views/t-anno.vue index 6bddce5d..d108fa25 100644 --- a/src/views/t-anno.vue +++ b/src/views/t-anno.vue @@ -94,6 +94,7 @@ async function createAnnoJson(): Promise { .anno-body { width: 800px; + max-width: calc(100% - 100px); margin: 0 auto; font-family: var(--font-text); } diff --git a/src/views/t-post.vue b/src/views/t-post.vue index cbfe89b3..3a0ba85c 100644 --- a/src/views/t-post.vue +++ b/src/views/t-post.vue @@ -491,9 +491,8 @@ function handleUser(user: TGApp.BBS.Post.User): void { .tp-post-body { position: relative; width: v-bind(viewWidth); /* stylelint-disable-line value-keyword-case */ + max-width: calc(100% - 100px); margin: 0 auto; - - // max-width: calc(100% - 100px); font-family: var(--font-text); transition: width 0.3s ease-in-out; }