🐛 修復文章頁面部分元素內部文字溢出的錯誤

This commit is contained in:
Jerry 2020-06-18 20:08:58 +08:00
parent 71c8a37af2
commit 4d9fca6ed6
2 changed files with 4 additions and 9 deletions

View File

@ -266,6 +266,9 @@ img
text-decoration: none
#article-container
word-wrap: break-word
overflow-wrap: break-word
a
color: $theme-link-color

View File

@ -117,7 +117,7 @@ function snackbarShow (text, showAction, duration) {
})
}
var Cookies = {
const Cookies = {
get: function (name) {
const value = `; ${document.cookie}`
const parts = value.split(`; ${name}=`)
@ -143,11 +143,3 @@ if (GLOBAL_CONFIG.islazyload) {
threshold: 0
}
}
window.debounce = debounce
window.throttle = throttle
window.isMobile = isMobile
window.loadScript = loadScript