diff --git a/frontend_nuxt/assets/global.css b/frontend_nuxt/assets/global.css index 42d4118be..4db59267d 100644 --- a/frontend_nuxt/assets/global.css +++ b/frontend_nuxt/assets/global.css @@ -205,7 +205,6 @@ body { border-radius: 4px; background-color: var(--code-highlight-background-color); color: var(--text-color); - white-space: pre; /* 禁止自动换行 */ } .copy-code-btn { @@ -370,7 +369,10 @@ body { .d2h-code-line { padding-left: 10px !important; } - + /* 手机端不换行 */ + .info-content-text code { + white-space: pre; /* 禁止自动换行 */ + } /* .d2h-diff-table { font-size: 6px !important; } diff --git a/frontend_nuxt/components/NotificationContainer.vue b/frontend_nuxt/components/NotificationContainer.vue index db002aab4..352b17a6e 100644 --- a/frontend_nuxt/components/NotificationContainer.vue +++ b/frontend_nuxt/components/NotificationContainer.vue @@ -45,6 +45,7 @@ export default { font-size: 12px; cursor: pointer; margin-left: 10px; + white-space: nowrap; } .mark-read-button:hover { diff --git a/frontend_nuxt/pages/message.vue b/frontend_nuxt/pages/message.vue index 94b39b820..e89680ec4 100644 --- a/frontend_nuxt/pages/message.vue +++ b/frontend_nuxt/pages/message.vue @@ -75,7 +75,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.parentComment.id}`" > -
+ 回复了 @@ -85,7 +85,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -115,7 +115,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -162,7 +162,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ 进行了表态 @@ -267,7 +267,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -287,7 +287,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.parentComment.id}`" > -
+ 回复了 -
+
@@ -323,7 +323,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -342,7 +342,7 @@ @click="markRead(item.id)" :to="`/posts/${item.post.id}#comment-${item.comment.id}`" > -
+ @@ -556,7 +556,7 @@ 删除了您的帖子 -
+