diff --git a/public/css/theme/presentation.css b/public/css/theme/presentation.css index 1671f62e..9030582d 100644 --- a/public/css/theme/presentation.css +++ b/public/css/theme/presentation.css @@ -32,11 +32,14 @@ body { padding: 0 150px; } .pren-content { - padding: 0 150px; + margin: 0 150px; + overflow: hidden; + word-wrap: break-word; } .pren-content * { font-size: 18px; - line-height: 1.2; + line-height: 1.5; + max-width: 100%; } .pren-content p { margin: 10px 0; diff --git a/public/css/theme/presentation.less b/public/css/theme/presentation.less index c84b8a73..d2f03b4f 100644 --- a/public/css/theme/presentation.less +++ b/public/css/theme/presentation.less @@ -37,10 +37,13 @@ body { padding: 0 150px; } .pren-content { - padding: 0 150px; + margin: 0 150px; + overflow: hidden; + word-wrap: break-word; * { font-size: 18px; - line-height: 1.2; + line-height: 1.5; + max-width: 100%; // 有些html有宽度, 就会超出 } p { margin: 10px 0;