Open aethanyc opened 8 years ago
以此篇文章為例,引述(藍綠色字的部分)使用 Firefox 打開會連成一行。
我發現 Ptt 網頁 CSS 中的 #main-content 用了 white-space: pre; 這在 Firefox 裡不會自動折行,應該改用 white-space: pre-wrap; 比較合理,而且 Google Chrome 跟 Firefox 都能正常顯示。
#main-content
white-space: pre;
white-space: pre-wrap;
:+1: 今天也發現同樣問題,但 css file 沒有放在這個 repo 只能請站方幫忙改一下
以此篇文章為例,引述(藍綠色字的部分)使用 Firefox 打開會連成一行。
我發現 Ptt 網頁 CSS 中的
#main-content
用了white-space: pre;
這在 Firefox 裡不會自動折行,應該改用white-space: pre-wrap;
比較合理,而且 Google Chrome 跟 Firefox 都能正常顯示。