Browse Source

pre换行样式修改

zhangxc 5 năm trước cách đây
mục cha
commit
82875c33cc
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      src/html/information.html

+ 5 - 1
src/html/information.html

@@ -73,8 +73,12 @@
       background: #fff;
       margin: 0 auto;
       padding: 30px 0 30px 24px;
+   
+    }
+    pre {
+      white-space: pre-wrap;
+      word-wrap: break-word;
     }
-
     .anchors {
       width: 160px;
       position: absolute;