hookehuyr

style: 为帖子文本添加自动换行和空白处理

在多个页面的.post-text样式中添加white-space和word-wrap属性,确保长文本和连续空白能正确显示
......@@ -795,6 +795,8 @@ const formatData = (data) => {
.post-text {
color: #666;
margin-bottom: 1rem;
white-space: pre-wrap;
word-wrap: break-word;
}
.post-media {
......
<!--
* @Date: 2025-05-29 15:34:17
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-25 11:47:02
* @LastEditTime: 2025-06-26 11:22:30
* @FilePath: /mlaj/src/views/teacher/checkinPage.vue
* @Description: 文件描述
-->
......@@ -908,6 +908,8 @@ const handleAdd = (type) => {
.post-text {
color: #666;
margin-bottom: 1rem;
white-space: pre-wrap;
word-wrap: break-word;
}
.post-media {
......
......@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2025-06-19 17:12:19
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-06-25 17:47:34
* @LastEditTime: 2025-06-26 11:22:56
* @FilePath: /mlaj/src/views/teacher/studentPage.vue
* @Description: 学生详情页面
-->
......@@ -1052,6 +1052,8 @@ const formatData = (data) => {
.post-text {
color: #666;
margin-bottom: 1rem;
white-space: pre-wrap;
word-wrap: break-word;
}
.post-media {
......